X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7d1dcb82d7ebb48589f8768daa6fa6d5d43507..10d1f4131db5405eaee6a49d3a96dd0ca4706294:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index c3f805327c..704c36a921 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -239,7 +239,11 @@ static gint wxapp_idle_callback( gpointer WXUNUSED(data) ) if (wxTopLevelWindows.GetCount() > 0) { wxWindow* win = (wxWindow*) wxTopLevelWindows.GetLast()->GetData(); +#ifdef __WXGTK20__ + if (win->IsKindOf(CLASSINFO(wxMessageDialog))) +#else if (win->IsKindOf(CLASSINFO(wxGenericMessageDialog))) +#endif win->OnInternalIdle(); } return TRUE;