]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/colrdlgg.cpp
trying to avoid redraw problems at wrong places
[wxWidgets.git] / src / generic / colrdlgg.cpp
index 0ec7f24f7bffb7e40f80f0f43a84fa52e83a8df4..494858f390672cc8e9112421cc6afb11eaf90e6d 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "colrdlgg.h"
 #endif
 
@@ -206,7 +206,7 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event)
 
 void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
 {
-#if !defined(__WXMOTIF__) && !defined(__WXMAC__) && !defined(__WXPM__)
+#if !defined(__WXMOTIF__) && !defined(__WXMAC__) && !defined(__WXPM__) && !defined(__WXCOCOA__)
   wxDialog::OnPaint(event);
 #endif