| 318 | } |
| 319 | |
| 320 | void UserInterfaceModule::dispatch(const std::function<void()>& action) |
| 321 | { |
| 322 | // Store this action in the event queue, it will be handled during the next event loop |
| 323 | wxTheApp->QueueEvent(new DispatchEvent(DISPATCH_EVENT, wxID_ANY, action)); |
| 324 | } |
| 325 | |
| 326 | void UserInterfaceModule::registerControl(IUserControlCreator::Ptr control) |
| 327 | { |
no outgoing calls