Added new file dialog

Minor changes to docs and other generic dialogs
  Minor changes to makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-08-17 15:55:25 +00:00
parent 4540b0b60f
commit 8b17ba727c
16 changed files with 1361 additions and 158 deletions

View File

@@ -92,10 +92,17 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
// 4) buttons
topsizer->Add( CreateButtonSizer( style ), 0, wxCENTRE | wxALL, 10 );
SetAutoLayout( TRUE );
SetSizer( topsizer );
topsizer->SetSizeHints( this );
topsizer->Fit( this );
SetSizer( topsizer );
SetAutoLayout( TRUE );
wxSize size( GetSize() );
if (size.x < size.y*2)
{
size.x = size.y*2;
SetSize( size );
}
Centre( wxBOTH | wxCENTER_FRAME);