diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-04-01 22:51:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-04-01 22:51:54 +0100 |
| commit | 854f2e5bbb7ffb9758b823af87034033033f3cb8 (patch) | |
| tree | 54e5fe000e5f961ca65e2c2aba81749d9601226d /src/wx/wx_util.cc | |
| parent | 1eeba876ce09cedfa4c779bf3554372c01dc34c5 (diff) | |
| parent | 931fa4ef2dbfb7c9f726c4dd41eea79621b49906 (diff) | |
Merge master.
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index a5399e62e..048f87908 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 (); + } +} |
