]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/trackingrectmanager.h
use a virtual function instead of wxDynamicCast(wxMDIParentFrame) in wxFrame code...
[wxWidgets.git] / include / wx / cocoa / trackingrectmanager.h
index 115791260657b2b975d132963062d2e26dee5310..da4483db532fca5de37d1962c04c2ec94280cd06 100644 (file)
@@ -23,6 +23,7 @@ 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();
 };