X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/356c775fcfeec51bf759e6dba1485793fe6f3636..73ed39b580977913998bbb988e52e474fe9835ae:/src/mac/carbon/fontdlg.cpp diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index e2f20113dc..23f99696b1 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -17,7 +17,7 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "fontdlg.h" #endif @@ -37,6 +37,10 @@ #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+