Events should be skipped instead of calling the base class event handler
directly, but in this case even this is not needed as wxGenericColourDialog
takes care of processing the event completely.
Closes #14405.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71788
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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);