added native wxMessageDialog implementation for GTK+2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user