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:
@@ -1116,8 +1116,9 @@ bool wxGenericScrolledWindow::Layout()
|
|||||||
GetSizer()->SetDimension(x, y, w, h);
|
GetSizer()->SetDimension(x, y, w, h);
|
||||||
return TRUE;
|
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)
|
void wxGenericScrolledWindow::OnPaint(wxPaintEvent& event)
|
||||||
|
Reference in New Issue
Block a user