X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9f246f7d99d2a2bc18d1d074940e5ab7b7bf601..82df67d960355e99a66b1db473b9d6236bf2fbb9:/include/wx/evtloop.h diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 2a71defd7a..4ff934f8a7 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -47,6 +47,9 @@ public: // return currently active (running) event loop, may be NULL static wxEventLoop *GetActive() { return ms_activeLoop; } + // set currently active (running) event loop + static void SetActive(wxEventLoop* loop) { ms_activeLoop = loop; } + protected: // the pointer to the port specific implementation class class WXDLLEXPORT wxEventLoopImpl *m_impl;