Handle CEF message loop from idle events

Handlign CEF messages on idle seems to work much better on macOS
This commit is contained in:
Tobias Taschner 2018-02-19 15:16:48 +01:00
parent dadade9d55
commit f6269ca8a6
No known key found for this signature in database
GPG key ID: AE6ECD71294F87FD
2 changed files with 9 additions and 16 deletions

View file

@ -141,10 +141,8 @@ private:
ClientHandler* m_clientHandler;
static int ms_activeWebViewCount;
// A timer to run CEF message loop.
static wxTimer* ms_workTimer;
static void OnWorkTimer(wxTimerEvent& evt);
static void OnIdle(wxIdleEvent& evt);
wxDECLARE_DYNAMIC_CLASS(wxWebViewChromium);
};