3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cocoa/trackingrectmanager.h
|
|
// Purpose: wxCocoaTrackingRectManager
|
|
// Notes: Source in window.mm
|
|
// Author: David Elliott <dfe@cox.net>
|
|
// Modified by:
|
|
// Created: 2007/05/02
|
|
// Copyright: (c) 2007 Software 2000 Ltd.
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#ifndef __WX_COCOA_TRACKINGRECTMANAGER_H__
|
|
#define __WX_COCOA_TRACKINGRECTMANAGER_H__
|
|
|
|
#include <CoreFoundation/CFRunLoop.h>
|
|
|
|
#define wxTRACE_COCOA_TrackingRect wxT("COCOA_TrackingRect")
|
|
|
|
class wxCocoaTrackingRectManager
|
|
{
|
|
wxDECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager);
|
|
public:
|
|
wxCocoaTrackingRectManager(wxWindow *window);
|
|
void ClearTrackingRect();
|
|
void BuildTrackingRect();
|
|
void RebuildTrackingRectIfNeeded();
|
|
void RebuildTrackingRect();
|
|
bool IsOwnerOfEvent(NSEvent *anEvent);
|
|
~wxCocoaTrackingRectManager();
|
|
void BeginSynthesizingEvents();
|
|
void StopSynthesizingEvents();
|
|
protected:
|
|
wxWindow *m_window;
|
|
bool m_isTrackingRectActive;
|
|
NSInteger m_trackingRectTag;
|
|
NSRect m_trackingRectInWindowCoordinates;
|
|
private:
|
|
wxCocoaTrackingRectManager();
|
|
};
|
|
|
|
#endif // ndef __WX_COCOA_TRACKINGRECTMANAGER_H__
|