summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/wx_util.cc')
-rw-r--r--src/wx/wx_util.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 367d1edbb..96278b82b 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -296,3 +296,11 @@ wx_get (wxChoice* w)
{
return w->GetSelection ();
}
+
+void
+run_gui_loop ()
+{
+ while (wxTheApp->Pending ()) {
+ wxTheApp->Dispatch ();
+ }
+}