X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b412d238281008e248bcdebeae4baf4b67191e7..605c2c4ac6ea7312c6e691caaa18f119fdf3020d:/src/common/encconv.cpp diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index ac467d90d8..a44449dc0d 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "encconv.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -36,10 +32,13 @@ #endif #ifdef __WXMAC__ - #include - #include - #include - +#ifdef __DARWIN__ +#include +#else +#include +#include +#include +#endif #include "wx/fontutil.h" #include "wx/mac/private.h" // includes mac headers @@ -470,7 +469,7 @@ wxFontEncodingArray wxEncodingConverter::GetPlatformEquivalents(wxFontEncoding e platform = wxPLATFORM_WINDOWS; #elif defined(__WXGTK__) || defined(__WXMOTIF__) platform = wxPLATFORM_UNIX; -#elif defined(__WXOS2__) +#elif defined(__WXPM__) platform = wxPLATFORM_OS2; #elif defined(__WXMAC__) platform = wxPLATFORM_MAC;