X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b17ba727c69f66dfa0a73dfdd04ff7d30e3c188..64d78265d0256eb00ae59b717aa97e4c5786e003:/src/generic/msgdlgg.cpp diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index 2cc9da5c5d..1fea61eafe 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -46,7 +46,6 @@ // icons // ---------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY BEGIN_EVENT_TABLE(wxGenericMessageDialog, wxDialog) EVT_BUTTON(wxID_YES, wxGenericMessageDialog::OnYes) EVT_BUTTON(wxID_NO, wxGenericMessageDialog::OnNo) @@ -54,7 +53,6 @@ BEGIN_EVENT_TABLE(wxGenericMessageDialog, wxDialog) END_EVENT_TABLE() IMPLEMENT_CLASS(wxGenericMessageDialog, wxDialog) -#endif wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, const wxString& message, @@ -98,9 +96,9 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent, 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 ); }