wxWindow::OnSize() does _not_ call Layout() (it should only be done for

top-level windows)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-07-10 17:46:08 +00:00
parent ed7a557b53
commit da7f8ac4dd
2 changed files with 2 additions and 2 deletions

View File

@ -1335,7 +1335,7 @@ void wxWindow::Fit(void)
void wxWindow::OnSize( wxSizeEvent &WXUNUSED(event) )
{
if (GetAutoLayout()) Layout();
//if (GetAutoLayout()) Layout();
};
bool wxWindow::Show( bool show )

View File

@ -1335,7 +1335,7 @@ void wxWindow::Fit(void)
void wxWindow::OnSize( wxSizeEvent &WXUNUSED(event) )
{
if (GetAutoLayout()) Layout();
//if (GetAutoLayout()) Layout();
};
bool wxWindow::Show( bool show )