X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b541538fa514aaecb5c988f05a7d581d49074072..dc834029a3eb341d9c9c5bebb4ce7b60560eeacb:/src/gtk/dialog.cpp diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 425aac9ae9..63c13c0c98 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -135,7 +135,7 @@ int wxDialog::ShowModal() // NOTE: gtk_window_set_modal internally calls gtk_grab_add() ! gtk_window_set_modal(GTK_WINDOW(m_widget), TRUE); - wxEventLoop().Run(); + wxGUIEventLoop().Run(); gtk_window_set_modal(GTK_WINDOW(m_widget), FALSE);