]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/msgdlgg.cpp
fix errors/inconsistencies pointed out by ifacecheck
[wxWidgets.git] / src / generic / msgdlgg.cpp
index bded8f883fd67929afa054fb22d2fb3790cd3e65..d908ebb47f08d0e03efe6bf3e9bda05fb2a6365c 100644 (file)
@@ -60,7 +60,7 @@ wxGenericMessageDialog::wxGenericMessageDialog( wxWindow *parent,
                                                 const wxString& caption,
                                                 long style,
                                                 const wxPoint& pos)
-                      : wxMessageDialogBase(GetParentForModalDialog(parent),
+                      : wxMessageDialogBase(GetParentForModalDialog(parent, style),
                                             message,
                                             caption,
                                             style),