Old API depreciated. Use of new API. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -423,7 +423,7 @@ bool wxPropertyListView::CreateControls()
|
||||
if (!panel)
|
||||
return false;
|
||||
|
||||
wxFont guiFont = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
wxFont guiFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
wxFont *boringFont =
|
||||
|
@@ -164,7 +164,7 @@ void wxToolWindow::OnPaint( wxPaintEvent& WXUNUSED(event) )
|
||||
int w,h;
|
||||
GetSize( &w, &h );
|
||||
|
||||
wxBrush backGround( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BTNFACE), wxSOLID );
|
||||
wxBrush backGround( wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE), wxSOLID );
|
||||
//dc.SetBrush( *wxLIGHT_GREY_BRUSH );
|
||||
dc.SetBrush( backGround );
|
||||
dc.SetPen( *wxTRANSPARENT_PEN );
|
||||
|
Reference in New Issue
Block a user