Fix assert due to wrong sizer flags in wxGenericRichMessageDialog
This assert was especially annoying because it could be shown when showing a previous assert message on the platforms without the native rich message dialog (i.e. anything but MSW), resulting in reentering the assert handler and killing the application.
This commit is contained in:
@@ -77,7 +77,7 @@ void wxGenericRichMessageDialog::AddMessageDialogDetails(wxSizer *sizer)
|
||||
sizerPane->Add( new wxStaticText( windowPane, -1, m_detailedText ) );
|
||||
windowPane->SetSizer( sizerPane );
|
||||
|
||||
sizerDetails->Add( m_detailsPane, wxSizerFlags().Right().Expand() );
|
||||
sizerDetails->Add( m_detailsPane, wxSizerFlags().Expand() );
|
||||
sizer->Add( sizerDetails, 0, wxTOP|wxLEFT|wxRIGHT | wxALIGN_LEFT, 10 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user