From: Julian Smart Date: Sat, 27 Oct 2007 17:37:54 +0000 (+0000) Subject: Skip the event to allow further child processing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a45f904dea79c37cfd02b001ff9006849e0041db Skip the event to allow further child processing Don't change the background colour explicitly on wxGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 92417acc0e..8e771902ba 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -448,8 +448,12 @@ void wxDialogBase::OnCloseWindow(wxCloseEvent& WXUNUSED(event)) closing.DeleteObject(this); } -void wxDialogBase::OnSysColourChanged(wxSysColourChangedEvent& WXUNUSED(event)) +void wxDialogBase::OnSysColourChanged(wxSysColourChangedEvent& event) { - SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); - Refresh(); +#ifndef __WXGTK__ + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); + Refresh(); +#endif + + event.Skip(); }