Refresh window layout after changing wxSpinCtrl base in widgets sample
Changing the base of the number changes the size of wxSpinCtrl so the layout needs to be reset to account this new size.
This commit is contained in:
parent
016924e14c
commit
ff87733cd8
1 changed files with 2 additions and 0 deletions
|
|
@ -480,6 +480,8 @@ void SpinBtnWidgetsPage::OnButtonSetBase(wxCommandEvent& WXUNUSED(event))
|
|||
{
|
||||
wxLogWarning("Setting base %d failed.", m_base);
|
||||
}
|
||||
|
||||
m_sizerSpin->Layout();
|
||||
}
|
||||
|
||||
void SpinBtnWidgetsPage::OnButtonSetValue(wxCommandEvent& WXUNUSED(event))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue