]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/msgdlgg.cpp
Doc/distribution script mods
[wxWidgets.git] / src / generic / msgdlgg.cpp
index a574efd37423096d1ff3b1e7aa2e6afceb385b06..ec65ed52bf8d17531ae0b1a6b6bbe8f3a0eda098 100644 (file)
@@ -73,7 +73,7 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
     if (style & wxICON_MASK)
     {
          wxStaticBitmap *icon = new wxStaticBitmap(
-            this, -1, wxTheApp->GetStdIcon(style & wxICON_MASK));
+            this, -1, wxTheApp->GetStdIcon((int)(style & wxICON_MASK)));
          icon_text->Add( icon, 0, wxCENTER );
     }
 
@@ -99,7 +99,7 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
     if (size.x < size.y*3/2)
     {
         size.x = size.y*3/2;
-       SetSize( size );
+        SetSize( size );
     }
 
     Centre( wxBOTH | wxCENTER_FRAME);