don't provide unnecessary (as default) arguments to wxPen ctor, this incidentally fixes deprecation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1970,10 +1970,10 @@ wxDataViewMainWindow::wxDataViewMainWindow( wxDataViewCtrl *parent, wxWindowID i
|
||||
|
||||
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
|
||||
|
||||
m_penRule = wxPen(GetRuleColour(), 1, wxSOLID);
|
||||
m_penRule = wxPen(GetRuleColour());
|
||||
|
||||
//Here I compose a pen can draw black lines, maybe there are something system colour to use
|
||||
m_penExpander = wxPen( wxColour(0,0,0), 1, wxSOLID );
|
||||
m_penExpander = wxPen(wxColour(0,0,0));
|
||||
//Some new added code to deal with the tree structure
|
||||
m_root = new wxDataViewTreeNode( NULL );
|
||||
m_root->SetHasChildren(true);
|
||||
|
Reference in New Issue
Block a user