]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
Use a " " (space) for the menu item if an empty string is used for an item in a wxCho...
[wxWidgets.git] / src / gtk / dialog.cpp
index bb3fbd15861debc507680e88d388b7060126c23c..0d05469ff809c0b3a4ba0f12fd1d2b86bf24efad 100644 (file)
@@ -111,7 +111,7 @@ int wxDialog::ShowModal()
     if ( win )
         win->GTKReleaseMouseAndNotify();
 
-    wxWindow * const parent = GetParentForModalDialog(GetParent());
+    wxWindow * const parent = GetParentForModalDialog();
     if ( parent )
     {
         gtk_window_set_transient_for( GTK_WINDOW(m_widget),