]> git.saurik.com Git - wxWidgets.git/commitdiff
OSX currently doesn't expose an OnPaint anymore
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 7 Feb 2009 14:47:55 +0000 (14:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 7 Feb 2009 14:47:55 +0000 (14:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/colrdlgg.cpp

index a8dec5b490f2f6ca4d67388efe1e03a7382a140b..e3e0da648994959980e0229fbc02f9659ea3df41 100644 (file)
@@ -201,7 +201,7 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event)
 
 void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
 {
-#if !defined(__WXMOTIF__) && !defined(__WXPM__) && !defined(__WXCOCOA__)
+#if !defined(__WXMOTIF__) && !defined(__WXPM__) && !defined(__WXCOCOA__) && !defined(__WXOSX__)
     wxDialog::OnPaint(event);
 #else
     wxUnusedVar(event);