Merged 48150 and 48169 from trunk:

Improve the tracing of the tracking rect manager and mouse movement synthesizer.
Fix a number of problems with tracking rectangles by avoiding rebuilding them when unnecessary.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-08-19 03:37:08 +00:00
parent 56ca408de4
commit 7f3f8ee6ac
2 changed files with 48 additions and 8 deletions

View File

@@ -23,6 +23,7 @@ public:
wxCocoaTrackingRectManager(wxWindow *window);
void ClearTrackingRect();
void BuildTrackingRect();
void RebuildTrackingRectIfNeeded();
void RebuildTrackingRect();
bool IsOwnerOfEvent(NSEvent *anEvent);
~wxCocoaTrackingRectManager();
@@ -32,6 +33,7 @@ protected:
wxWindow *m_window;
bool m_isTrackingRectActive;
int m_trackingRectTag;
NSRect m_trackingRectInWindowCoordinates;
private:
wxCocoaTrackingRectManager();
};