Merge master.
[dcpomatic.git] / src / wx / wx_util.cc
index a5399e62ea4d798c2957c36eb20a6586e84c3e0f..048f87908e8c72770e973f0450a36767c1b747f3 100644 (file)
@@ -296,3 +296,11 @@ wx_get (wxChoice* w)
 {
        return w->GetSelection ();
 }
+
+void
+run_gui_loop ()
+{
+       while (wxTheApp->Pending ()) {
+               wxTheApp->Dispatch ();
+       }
+}