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();
protected:
wxWindow *m_window;
bool m_isTrackingRectActive;
- int m_trackingRectTag;
+ NSInteger m_trackingRectTag;
+ NSRect m_trackingRectInWindowCoordinates;
private:
wxCocoaTrackingRectManager();
};