wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -524,7 +524,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
|
||||
filterStyle |= wxBORDER_SUNKEN;
|
||||
|
||||
m_treeCtrl = CreateTreeCtrl(this, wxID_TREECTRL,
|
||||
wxPoint(), GetClientSize(), treeStyle);
|
||||
wxPoint(0,0), GetClientSize(), treeStyle);
|
||||
|
||||
if (!filter.empty() && (style & wxDIRCTRL_SHOW_FILTERS))
|
||||
m_filterListCtrl = new wxDirFilterListCtrl(this, wxID_FILTERLISTCTRL, wxDefaultPosition, wxDefaultSize, filterStyle);
|
||||
|
Reference in New Issue
Block a user