]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
Fixed toolbar crash for MinGW/Cygwin
[wxWidgets.git] / src / generic / notebook.cpp
index 94170c605e294a1568e6184f081aa972df6804e6..5cb54f9c67cf4179267703dfd363146f32fd4968 100644 (file)
@@ -112,7 +112,7 @@ bool wxNotebook::Create(wxWindow *parent,
     if (!wxWindow::Create(parent, id, pos, size, style|wxNO_BORDER, name))
         return FALSE;
 
-    SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
+    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
 
     SetTabView(new wxNotebookTabView(this));