X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/356c775fcfeec51bf759e6dba1485793fe6f3636..169d1d643c0ee0c90fa8e393b5298606bbb68cfd:/src/mac/carbon/fontdlg.cpp diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index e2f20113dc..14f02f4190 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,9 +37,11 @@ #if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX -#if !USE_SHARED_LIBRARY +#undef wxFontDialog + +#include "wx/mac/fontdlg.h" + IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) -#endif #include "wx/mac/private.h" @@ -89,4 +91,4 @@ int wxFontDialog::ShowModal() return wxID_CANCEL; } -#endif // 10.2+ \ No newline at end of file +#endif // 10.2+