restore Robin's code (reverted previous commit)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-03-16 00:06:33 +00:00
parent b1eeda4084
commit 7152f0c68d

View File

@ -1116,8 +1116,9 @@ bool wxGenericScrolledWindow::Layout()
GetSizer()->SetDimension(x, y, w, h);
return TRUE;
}
else
return wxPanel::Layout(); // fall back to default for LayoutConstraints
// fall back to default for LayoutConstraints
return wxPanel::Layout();
}
void wxGenericScrolledWindow::OnPaint(wxPaintEvent& event)