]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/dbbrowse.cpp
fix for what the patch 529900 was trying to fix (loading fonts with size -1)
[wxWidgets.git] / demos / dbbrowse / dbbrowse.cpp
index af47b3d47899e43b371198dca084bd7c9d53309b..c581096558edad97474f01874f4842f7586401b3 100644 (file)
@@ -186,7 +186,7 @@ bool MainApp::OnInit(void)  // Does everything needed for a program start
     frame = new MainFrame((wxFrame *) NULL,(char *) Temp0.c_str(),wxPoint(x,y),wxSize(w,h));
     //---------------------------------------------------------------------------------------
     // Set the Backgroundcolour (only need if your are NOT using wxSYS_COLOUR_BACKGROUND)
-    frame->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BACKGROUND));
+    frame->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BACKGROUND));
     // frame->SetBackgroundColour(wxColour(255, 255, 255));
     // frame->SetBackgroundColour(* wxWHITE);
     //---------------------------------------------------------------------------------------