SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1666,13 +1666,13 @@ wxListHeaderWindow::wxListHeaderWindow( wxWindow *win,
|
||||
|
||||
#if _USE_VISATTR
|
||||
wxVisualAttributes attr = wxPanel::GetClassDefaultAttributes();
|
||||
SetDefaultForegroundColour( attr.colFg );
|
||||
SetDefaultBackgroundColour( attr.colBg );
|
||||
SetDefaultFont( attr.font );
|
||||
SetOwnForegroundColour( attr.colFg );
|
||||
SetOwnBackgroundColour( attr.colBg );
|
||||
SetOwnFont( attr.font );
|
||||
#else
|
||||
SetDefaultForegroundColour( wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
|
||||
SetDefaultBackgroundColour( wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
|
||||
SetDefaultFont( wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT ));
|
||||
SetOwnForegroundColour( wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
|
||||
SetOwnBackgroundColour( wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
|
||||
SetOwnFont( wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT ));
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -2212,9 +2212,9 @@ wxListMainWindow::wxListMainWindow( wxWindow *parent,
|
||||
SetScrollbars( 0, 0, 0, 0, 0, 0 );
|
||||
|
||||
wxVisualAttributes attr = wxGenericListCtrl::GetClassDefaultAttributes();
|
||||
SetDefaultForegroundColour( attr.colFg );
|
||||
SetDefaultBackgroundColour( attr.colBg );
|
||||
SetDefaultFont( attr.font );
|
||||
SetOwnForegroundColour( attr.colFg );
|
||||
SetOwnBackgroundColour( attr.colBg );
|
||||
SetOwnFont( attr.font );
|
||||
}
|
||||
|
||||
wxListMainWindow::~wxListMainWindow()
|
||||
|
Reference in New Issue
Block a user