no need to update default colours and refresh if syscolours change, wxWindow does it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -380,7 +380,6 @@ void wxStatusBarGeneric::InitColours()
|
||||
void wxStatusBarGeneric::OnSysColourChanged(wxSysColourChangedEvent& event)
|
||||
{
|
||||
InitColours();
|
||||
Refresh();
|
||||
|
||||
// Propagate the event to the non-top-level children
|
||||
wxWindow::OnSysColourChanged(event);
|
||||
|
Reference in New Issue
Block a user