]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/listbox.cpp
Fixed a crash when GetMonthControl returns NULL
[wxWidgets.git] / src / motif / listbox.cpp
index 8b25c36f2a3ca3f5d1d82f7f01bd4265f47ba11a..3502c25afce81e698d6c76bcf4a017701ef3f98a 100644 (file)
@@ -760,7 +760,7 @@ void wxListBox::ChangeBackgroundColour()
    /* TODO: should scrollbars be affected? Should probably have separate
     * function to change them (by default, taken from wxSystemSettings)
     */
-    wxColour backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE);
+    wxColour backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
     DoChangeBackgroundColour((WXWidget) hsb, backgroundColour, TRUE);
     DoChangeBackgroundColour((WXWidget) vsb, backgroundColour, TRUE);