]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/msgdlgg.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / generic / msgdlgg.cpp
index 2cc9da5c5d184c3c01aeeeb946a7030316b5ea08..19aefb7c06d7f0a4e25d7f8b1f6216f30a626c95 100644 (file)
@@ -98,9 +98,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 );
     }