Distrib changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-17 14:55:39 +00:00
parent 3ce369e687
commit d8d474af58
5 changed files with 62 additions and 25 deletions

View File

@@ -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 );
}