]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/colordlg.cpp
Fix waiting for IO on UDP sockets.
[wxWidgets.git] / src / gtk / colordlg.cpp
index 893311f989be2ef1b0f129de66da1e585c767640..0c606ca0186cc6241413b53fbfa55cf97196bf5e 100644 (file)
@@ -48,7 +48,7 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data)
     if (data)
         m_data = *data;
 
-    m_parent = GetParentForModalDialog(parent);
+    m_parent = GetParentForModalDialog(parent, 0);
     GtkWindow * const parentGTK = m_parent ? GTK_WINDOW(m_parent->m_widget)
                                            : NULL;