Distrib changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -313,6 +313,7 @@ NewSizerFrame::NewSizerFrame(wxFrame *frame, char *title, int x, int y ):
|
||||
0, // make vertically unstretchable
|
||||
wxCENTER ); // no border and centre horizontally
|
||||
|
||||
SetAutoLayout( TRUE );
|
||||
|
||||
// set frame to minimum size
|
||||
topsizer->Fit( this );
|
||||
@@ -321,8 +322,6 @@ NewSizerFrame::NewSizerFrame(wxFrame *frame, char *title, int x, int y ):
|
||||
topsizer->SetSizeHints( this );
|
||||
|
||||
SetSizer( topsizer );
|
||||
|
||||
SetAutoLayout( TRUE );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user