removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -492,7 +492,6 @@ MyAboutDialog::MyAboutDialog(wxWindow *parent)
|
||||
sizerTop->Add(-1, 10, 1, wxGROW);
|
||||
sizerTop->Add(statbarBottom, 0, wxGROW);
|
||||
|
||||
SetAutoLayout(true);
|
||||
SetSizer(sizerTop);
|
||||
|
||||
sizerTop->Fit(this);
|
||||
@@ -620,7 +619,7 @@ void MyStatusBar::DoToggle()
|
||||
m_statbmp->Refresh();
|
||||
#endif
|
||||
|
||||
SetStatusText(_T(""), Field_Clock);
|
||||
SetStatusText(wxEmptyString, Field_Clock);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user