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:
Václav Slavík
2005-06-20 08:20:50 +00:00
parent 6c3c55cf30
commit 924b84ab94
14 changed files with 146 additions and 80 deletions

View File

@@ -18,6 +18,7 @@
#include "wx/frame.h"
#include "wx/app.h"
#include "wx/cursor.h"
#include "wx/evtloop.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
@@ -212,7 +213,9 @@ int wxDialog::ShowModal()
g_openDialogs++;
gtk_grab_add( m_widget );
gtk_main();
wxEventLoop().Run();
gtk_grab_remove( m_widget );
g_openDialogs--;