use wxSizer::Fit() for sizing the dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -1265,7 +1265,7 @@ TestDefaultActionDialog::TestDefaultActionDialog( wxWindow *parent ) :
 | 
			
		||||
        main_sizer->Add( button_sizer, 0, wxALL|wxGROW, 5 );
 | 
			
		||||
        
 | 
			
		||||
    SetSizer( main_sizer );
 | 
			
		||||
    main_sizer->SetSizeHints( this );
 | 
			
		||||
    main_sizer->Fit( this );
 | 
			
		||||
}
 | 
			
		||||
    
 | 
			
		||||
void TestDefaultActionDialog::OnListBoxDClick(wxCommandEvent& event)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user