Hide the dialog after running it as it may be a bit of time before it

is destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-17 19:51:11 +00:00
parent 13de0c8c9b
commit b25630fb6c
2 changed files with 4 additions and 2 deletions

View File

@@ -61,7 +61,8 @@ int wxColourDialog::ShowModal()
ColourDataToDialog();
gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
gtk_widget_hide(m_widget);
switch (result)
{
default:

View File

@@ -61,7 +61,8 @@ int wxColourDialog::ShowModal()
ColourDataToDialog();
gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
gtk_widget_hide(m_widget);
switch (result)
{
default: