X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..7d6a4d96961eac84d05db8bb24c64d39003f6e54:/src/generic/colrdlgg.cpp diff --git a/src/generic/colrdlgg.cpp b/src/generic/colrdlgg.cpp index 3b5695ab7d..49e4bb6a45 100644 --- a/src/generic/colrdlgg.cpp +++ b/src/generic/colrdlgg.cpp @@ -200,14 +200,8 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event) event.Skip(); } -void wxGenericColourDialog::OnPaint(wxPaintEvent& event) +void wxGenericColourDialog::OnPaint(wxPaintEvent& WXUNUSED(event)) { -#if !defined(__WXMOTIF__) && !defined(__WXPM__) && !defined(__WXCOCOA__) && !defined(__WXOSX__) - wxDialog::OnPaint(event); -#else - wxUnusedVar(event); -#endif - wxPaintDC dc(this); PaintBasicColours(dc);