SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -791,9 +791,9 @@ bool wxGenericTreeCtrl::Create(wxWindow *parent,
|
||||
#endif
|
||||
|
||||
wxVisualAttributes attr = GetDefaultAttributes();
|
||||
SetDefaultForegroundColour( attr.colFg );
|
||||
SetDefaultBackgroundColour( attr.colBg );
|
||||
SetDefaultFont(attr.font);
|
||||
SetOwnForegroundColour( attr.colFg );
|
||||
SetOwnBackgroundColour( attr.colBg );
|
||||
SetOwnFont(attr.font);
|
||||
|
||||
// m_dottedPen = wxPen( "grey", 0, wxDOT ); too slow under XFree86
|
||||
m_dottedPen = wxPen( wxT("grey"), 0, 0 );
|
||||
|
Reference in New Issue
Block a user