changed exceptions handling to work under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "wx/gtk/private.h"
|
||||
#include "wx/timer.h"
|
||||
#include "wx/settings.h"
|
||||
#include "wx/evtloop.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <gdk/gdk.h>
|
||||
@@ -1202,7 +1203,7 @@ void wxTopLevelWindowGTK::AddGrab()
|
||||
{
|
||||
m_grabbed = TRUE;
|
||||
gtk_grab_add( m_widget );
|
||||
gtk_main();
|
||||
wxEventLoop().Run();
|
||||
gtk_grab_remove( m_widget );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user