fixed wxGenericDirCtrl sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3d7d51faea
commit
cdfd8b1e84
@ -574,7 +574,8 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
|
||||
else
|
||||
filterStyle |= wxBORDER_SUNKEN;
|
||||
|
||||
m_treeCtrl = new wxTreeCtrl(this, wxID_TREECTRL, pos, size, treeStyle);
|
||||
m_treeCtrl = new wxTreeCtrl(this, wxID_TREECTRL,
|
||||
wxPoint(0,0), GetClientSize(), treeStyle);
|
||||
|
||||
if (!filter.IsEmpty() && (style & wxDIRCTRL_SHOW_FILTERS))
|
||||
m_filterListCtrl = new wxDirFilterListCtrl(this, wxID_FILTERLISTCTRL, wxDefaultPosition, wxDefaultSize, filterStyle);
|
||||
|
Loading…
Reference in New Issue
Block a user