]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/colordlg.cpp
Unwanted semicolon fix [#1212497] + source cleaning.
[wxWidgets.git] / src / mac / carbon / colordlg.cpp
index 3c8411319b333758f23b5b26de4f970a09fa6c64..d3664a6d0fe537fb96468fd998397c1eb6c2490f 100644 (file)
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "colordlg.h"
 #endif
 
+#include "wx/wxprec.h"
+
 #include "wx/mac/colordlg.h"
+#include "wx/fontdlg.h"
+
+
+#if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
-#endif
 
 #include "wx/mac/private.h"
 #ifndef __DARWIN__
@@ -68,3 +72,4 @@ int wxColourDialog::ShowModal()
     return wxID_CANCEL;
 }
 
+#endif