]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/colrdlgg.cpp
corrected redraw problems with native controls
[wxWidgets.git] / src / generic / colrdlgg.cpp
index 4cc54933355853f98ec51817303348a6c738124d..d452a8373a14ce873f1f7e24254916ebee8c9975 100644 (file)
@@ -192,7 +192,7 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event)
 
 void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
 {
-#ifndef __WXMOTIF__
+#if !defined(__WXMOTIF__) && !defined(__WXMAC__)
   wxDialog::OnPaint(event);
 #endif
 
@@ -294,11 +294,6 @@ void wxGenericColourDialog::InitializeColours(void)
 
   for (i = 0; i < 16; i++)
     customColours[i] =
-/*
-#ifndef __VMS__
-     (wxColour&)
-#endif
-*/
        colourData.GetCustomColour(i);
 
   singleCustomColour.Set(0, 0, 0);