projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca910e1
)
relayout the sizer containing the button after changing its label as this may change...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 22 Jun 2009 18:37:09 +0000
(18:37 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 22 Jun 2009 18:37:09 +0000
(18:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61166
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
samples/widgets/button.cpp
patch
|
blob
|
blame
|
history
diff --git
a/samples/widgets/button.cpp
b/samples/widgets/button.cpp
index e6fb8662fb6d8c9079cca6bf8f5e6756b4c3281a..a1e768f01b4051fc74e6a769307c2e1b2793bcca 100644
(file)
--- a/
samples/widgets/button.cpp
+++ b/
samples/widgets/button.cpp
@@
-475,6
+475,8
@@
void ButtonWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
void ButtonWidgetsPage::OnButtonChangeLabel(wxCommandEvent& WXUNUSED(event))
{
m_button->SetLabel(m_textLabel->GetValue());
+
+ m_sizerButton->Layout();
}
void ButtonWidgetsPage::OnButton(wxCommandEvent& WXUNUSED(event))