]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
PyCrust updates
[wxWidgets.git] / src / msw / listbox.cpp
index e0ed9ed803931522bc3ad66e10cdfd74201a3db7..b024c65b0737a23324e3b1cc048834b5e569ed2c 100644 (file)
@@ -145,8 +145,7 @@ bool wxListBox::Create(wxWindow *parent,
     if (parent)
         parent->AddChild(this);
 
-    wxSystemSettings settings;
-    SetBackgroundColour(settings.GetSystemColour(wxSYS_COLOUR_WINDOW));
+    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
     SetForegroundColour(parent->GetForegroundColour());
 
     m_windowId = ( id == -1 ) ? (int)NewControlId() : id;