extracted OnSize() body in a new DoLayout() method so that it can be called from wxFrame::SetXXXBar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -187,7 +187,7 @@ void wxTopLevelWindowBase::DoClientToScreen(int *x, int *y) const
|
||||
|
||||
// default resizing behaviour - if only ONE subwindow, resize to fill the
|
||||
// whole client area
|
||||
void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
|
||||
void wxTopLevelWindowBase::DoLayout()
|
||||
{
|
||||
// if we're using constraints or sizers - do use them
|
||||
if ( GetAutoLayout() )
|
||||
|
||||
Reference in New Issue
Block a user