diff --git a/src/generic/collpaneg.cpp b/src/generic/collpaneg.cpp index 85f8c9acd4..293e096d8c 100644 --- a/src/generic/collpaneg.cpp +++ b/src/generic/collpaneg.cpp @@ -78,8 +78,7 @@ bool wxGenericCollapsiblePane::Create(wxWindow *parent, // create children and lay them out using a wxBoxSizer // (so that we automatically get RTL features) - m_pButton = new wxCollapsibleHeaderCtrl(this, wxID_ANY, label, wxPoint(0, 0), - wxDefaultSize); + m_pButton = new wxCollapsibleHeaderCtrl(this, wxID_ANY, label, wxPoint(0, 0)); m_sz->Add(m_pButton, wxSizerFlags().Border(wxALL, GetBorder()));