Start the wx event loop in a consistent manner.
(app=None)
| 95 | return app.IsMainLoopRunning() |
| 96 | |
| 97 | def start_event_loop_wx(app=None): |
| 98 | """Start the wx event loop in a consistent manner.""" |
| 99 | if app is None: |
| 100 | app = get_app_wx() |
| 101 | if not is_event_loop_running_wx(app): |
| 102 | app._in_event_loop = True |
| 103 | app.MainLoop() |
| 104 | app._in_event_loop = False |
| 105 | else: |
| 106 | app._in_event_loop = True |
| 107 | |
| 108 | #----------------------------------------------------------------------------- |
| 109 | # qt4 |
nothing calls this directly
no test coverage detected