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:
parent
6bdac08b75
commit
0becef5591
1 changed files with 1 additions and 2 deletions
|
|
@ -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()));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue