From e4ffab299a1a214fbdd9e3941909323875b32e28 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sat, 20 Sep 2003 13:34:49 +0000 Subject: [PATCH] Compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/fontutil.h | 2 ++ src/common/strconv.cpp | 1 - src/msw/font.cpp | 1 + src/msw/fontenum.cpp | 3 ++- src/msw/fontutil.cpp | 1 + src/unix/fontenum.cpp | 1 + src/unix/fontutil.cpp | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 5e9e14c09b..da045f1c53 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -31,6 +31,8 @@ #include "wx/msw/winundef.h" #endif +struct WXDLLEXPORT wxNativeEncodingInfo; + #if defined(_WX_X_FONTLIKE) // the symbolic names for the XLFD fields (with examples for their value) diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index b5e8925dec..cdbaabf73e 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -521,7 +521,6 @@ const char *IC_CharSet::ms_wcCharsetName = NULL; bool IC_CharSet::ms_wcNeedsSwap = FALSE; IC_CharSet::IC_CharSet(const wxChar *name) - : wxCharacterSet(name) { // Do it the hard way char cname[100]; diff --git a/src/msw/font.cpp b/src/msw/font.cpp index ec02cd8ce4..296142c585 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -35,6 +35,7 @@ #include "wx/app.h" #include "wx/font.h" #include "wx/log.h" + #include "wx/encinfo.h" #endif // WX_PRECOMP #include "wx/msw/private.h" diff --git a/src/msw/fontenum.cpp b/src/msw/fontenum.cpp index cc320215b8..68c3e999f8 100644 --- a/src/msw/fontenum.cpp +++ b/src/msw/fontenum.cpp @@ -31,7 +31,8 @@ #if wxUSE_FONTMAP #ifndef WX_PRECOMP - #include "wx/font.h" + #include "wx/font.h" + #include "wx/encinfo.h" #endif #include "wx/msw/private.h" diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index 1bff1940f7..8f9844def7 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -32,6 +32,7 @@ #include "wx/string.h" #include "wx/log.h" #include "wx/intl.h" + #include "wx/encinfo.h" #endif //WX_PRECOMP #include "wx/msw/private.h" diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index 869a546f39..94520acb8d 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -32,6 +32,7 @@ #include "wx/fontmap.h" #include "wx/fontenum.h" #include "wx/fontutil.h" +#include "wx/encinfo.h" // ---------------------------------------------------------------------------- // Pango diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index 268300e5fc..55cecc3e1b 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -29,6 +29,7 @@ #endif #ifndef WX_PRECOMP + #include "wx/encinfo.h" #endif // PCH #include "wx/fontutil.h"