]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/filedlg.cpp
fixed crash under GTK+ 2.0
[wxWidgets.git] / src / motif / filedlg.cpp
index afbaa2d71000995eacdae6b479ab7a036dc836e5..91f301028c958aeab9481ef2f0a8099a716ab1a5 100644 (file)
@@ -173,7 +173,7 @@ static void wxChangeListBoxColours(wxWindow* WXUNUSED(win), Widget widget)
    /* 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);
     wxWindow::DoChangeBackgroundColour((WXWidget) hsb, backgroundColour, TRUE);
     wxWindow::DoChangeBackgroundColour((WXWidget) vsb, backgroundColour, TRUE);