]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/colordlg.cpp
[ 1216436 ] cleanup 'shadow variable' warnings from gcc in headers.
[wxWidgets.git] / src / gtk / colordlg.cpp
index fa41faa4f84acfe9220ca6eb7b2c5f595356771a..9e676a6fa8d5ae18c28dc63b73efa5cf91568704 100644 (file)
@@ -61,7 +61,8 @@ int wxColourDialog::ShowModal()
     ColourDataToDialog();
     
     gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
     ColourDataToDialog();
     
     gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
-   
+    gtk_widget_hide(m_widget);
+    
     switch (result)
     {
         default:
     switch (result)
     {
         default: