]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/colordlgosx.mm
make sure we always restore the passed in cg in a paint event
[wxWidgets.git] / src / mac / carbon / colordlgosx.mm
index 13a59e41687b110a0b34a90cb4177fae226c1e7c..6ca11c6aff5fdbb82490608eb41bcdf636e48b13 100644 (file)
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
-#pragma implementation "colordlg.h"
-#endif
-
 #include "wx/mac/colordlg.h"
 #include "wx/fontdlg.h"
 
@@ -32,9 +28,7 @@
 //Mac OSX 10.2+ only
 #if USE_NATIVE_FONT_DIALOG_FOR_MACOSX
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
-#endif
 
 // Cocoa headers
 #include "wx/cocoa/autorelease.h"