use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
//---------------------------------------------------------------------------------------
|
||||
|
@@ -57,7 +57,7 @@ MainDoc::MainDoc()
|
||||
i_TabNr = 0;
|
||||
i_PageNr = 0;
|
||||
s_BColour = "WHEAT";
|
||||
ft_Doc = new wxFont(wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT));
|
||||
ft_Doc = new wxFont(wxSystemSettings::GetFont(wxSYS_SYSTEM_FONT));
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user