separate non-native mouse handling from IsUserPane

NSOpenGLView is needed under 10.14 as native view, in order to reuse wx touch and mouse handling we trigger this separately from IsUserPane being true
This commit is contained in:
Stefan Csomor
2019-01-03 16:28:19 +01:00
parent a29ea16ccd
commit 5581e5079f
2 changed files with 6 additions and 2 deletions

View File

@@ -231,6 +231,10 @@ public :
// we are doing keyboard handling in wx code, other events might be handled natively
virtual bool HasUserKeyHandling() const { return m_wantsUserKey; }
// we are doing mouse handling in wx code, other events might be handled natively
// right now this is always in sync with HasUserKeyHandling
virtual bool HasUserMouseHandling() const { return m_wantsUserKey; }
wxWindowMac* GetWXPeer() const { return m_wxPeer; }
bool IsOk() const { return GetWXWidget() != NULL; }