]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/fontdlg.cpp
scaling for 24x24 and 64x64 sizes
[wxWidgets.git] / src / mac / carbon / fontdlg.cpp
index e2f20113dc796e67b14895db3b9da0a82c642311..23f99696b1088b52d9c622dfbac32c496d6da040 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "fontdlg.h"
 #endif
 
 
 #if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX
 
+#undef wxFontDialog
+
+#include "wx/mac/fontdlg.h"
+
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
 #endif
@@ -89,4 +93,4 @@ int wxFontDialog::ShowModal()
     return wxID_CANCEL;
 }
 
-#endif // 10.2+
\ No newline at end of file
+#endif // 10.2+