# include <LowMem.h>
# include <Gestalt.h>
# include <FixMath.h>
+# include <CoreServices.h>
#endif
-#if UNIVERSAL_INTERFACES_VERSION < 0x0340
+#if UNIVERSAL_INTERFACES_VERSION < 0x0342
#error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
#endif
{
return EventTimeToTicks( GetTime() ) ;
}
- OSStatus SetTime( EventTime inWhen = 0 /*now*/ )
+ OSStatus SetCurrentTime( )
{
- return ::SetEventTime( m_eventRef , inWhen ? inWhen : GetCurrentEventTime() ) ;
+ return ::SetEventTime( m_eventRef , GetCurrentEventTime() ) ;
+ }
+ OSStatus SetTime( EventTime when )
+ {
+ return ::SetEventTime( m_eventRef , when ) ;
}
operator EventRef () { return m_eventRef; }
// Starts a new subpath at
void MoveToPoint( wxCoord x1 , wxCoord y1 ) ;
void AddLineToPoint( wxCoord x1 , wxCoord y1 ) ;
+ void AddQuadCurveToPoint( wxCoord cx1, wxCoord cy1, wxCoord x1, wxCoord y1 ) ;
void AddRectangle( wxCoord x, wxCoord y, wxCoord w, wxCoord h ) ;
void AddCircle( wxCoord x, wxCoord y , wxCoord r ) ;
// toplevel.cpp
-ControlRef wxMacFindControlUnderMouse( wxTopLevelWindowMac* toplevelWindow, Point location , WindowRef window , ControlPartCode *outPart ) ;
+ControlRef wxMacFindControlUnderMouse( wxTopLevelWindowMac* toplevelWindow, const Point& location , WindowRef window , ControlPartCode *outPart ) ;
#endif // wxUSE_GUI