git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20412
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// do NOT use! This is for backward compatibility, use wxFontMapper::Get() instead
#define wxTheFontMapper (wxFontMapper::Get())
-#endif // wxUSE_FONTMAP
+#else // !wxUSE_FONTMAP
+
+#if wxUSE_GUI
+ // wxEncodingToCodepage (utils.cpp) needs wxGetNativeFontEncoding
+ #include "wx/fontenc.h"
+#endif
+
+#endif // wxUSE_FONTMAP/!wxUSE_FONTMAP
#endif // _WX_FONTMAPPER_H_
// wxBitmap accessors
// ----------------------------------------------------------------------------
+#if wxUSE_PALETTE
wxPalette* wxBitmap::GetPalette() const
{
return GetBitmapData() ? &GetBitmapData()->m_bitmapPalette
: (wxPalette *) NULL;
}
+#endif
wxMask *wxBitmap::GetMask() const
{
#include "wx/caret.h"
+#if wxUSE_CARET
+
#include "wx/msw/private.h"
// ---------------------------------------------------------------------------
OnSetFocus();
}
}
+
+#endif
#include "wx/msgdlg.h"
#endif
+#if wxUSE_COLOURDLG
+
#include <windows.h>
#if !defined(__WIN32__) || defined(__SALFORDC__)
*height = 299;
}
+#endif