Remove unnecessary argument from wxGenericCollapsiblePane code

No real changes, just don't specify wxDefaultSize explicitly when it's
the default value for size anyhow.
This commit is contained in:
Vadim Zeitlin 2023-02-20 22:12:47 +00:00
parent 6bdac08b75
commit 0becef5591

View file

@ -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()));