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
This commit is contained in:
@@ -448,8 +448,12 @@ void wxDialogBase::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
|
|||||||
closing.DeleteObject(this);
|
closing.DeleteObject(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxDialogBase::OnSysColourChanged(wxSysColourChangedEvent& WXUNUSED(event))
|
void wxDialogBase::OnSysColourChanged(wxSysColourChangedEvent& event)
|
||||||
{
|
{
|
||||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
|
#ifndef __WXGTK__
|
||||||
Refresh();
|
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
|
||||||
|
Refresh();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user