X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ea3a63ea9b48da919a5f9eb3c60e137dc333db8..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/cocoa/trackingrectmanager.h diff --git a/include/wx/cocoa/trackingrectmanager.h b/include/wx/cocoa/trackingrectmanager.h index 1157912606..839685812c 100644 --- a/include/wx/cocoa/trackingrectmanager.h +++ b/include/wx/cocoa/trackingrectmanager.h @@ -18,11 +18,12 @@ class wxCocoaTrackingRectManager { - DECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager) + wxDECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager); public: wxCocoaTrackingRectManager(wxWindow *window); void ClearTrackingRect(); void BuildTrackingRect(); + void RebuildTrackingRectIfNeeded(); void RebuildTrackingRect(); bool IsOwnerOfEvent(NSEvent *anEvent); ~wxCocoaTrackingRectManager(); @@ -31,7 +32,8 @@ public: protected: wxWindow *m_window; bool m_isTrackingRectActive; - int m_trackingRectTag; + NSInteger m_trackingRectTag; + NSRect m_trackingRectInWindowCoordinates; private: wxCocoaTrackingRectManager(); };