// icons
// ----------------------------------------------------------------------------
-#if !USE_SHARED_LIBRARY
BEGIN_EVENT_TABLE(wxGenericMessageDialog, wxDialog)
EVT_BUTTON(wxID_YES, wxGenericMessageDialog::OnYes)
EVT_BUTTON(wxID_NO, wxGenericMessageDialog::OnNo)
END_EVENT_TABLE()
IMPLEMENT_CLASS(wxGenericMessageDialog, wxDialog)
-#endif
wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
const wxString& message,
topsizer->SetSizeHints( this );
topsizer->Fit( this );
wxSize size( GetSize() );
- if (size.x < size.y*2)
+ if (size.x < size.y*3/2)
{
- size.x = size.y*2;
+ size.x = size.y*3/2;
SetSize( size );
}