From: Stefan Csomor Date: Sat, 7 Feb 2009 14:47:55 +0000 (+0000) Subject: OSX currently doesn't expose an OnPaint anymore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1e269f30d5438047905833f46b9fb24fcd5b7946 OSX currently doesn't expose an OnPaint anymore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/colrdlgg.cpp b/src/generic/colrdlgg.cpp index a8dec5b490..e3e0da6489 100644 --- a/src/generic/colrdlgg.cpp +++ b/src/generic/colrdlgg.cpp @@ -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);