- bool m_needComputeScaleX,m_needComputeScaleY; // not yet used
- long m_internalDeviceOriginX,m_internalDeviceOriginY; // If un-scrolled is non-zero or
- // d.o. changes with scrolling.
- // Set using SetInternalDeviceOrigin().
-
- long m_externalDeviceOriginX,m_externalDeviceOriginY; // To be set by external classes
- // such as wxScrolledWindow
- // using SetDeviceOrigin()
- GrafPtr m_macPort ;
- GWorldPtr m_macMask ;
-
- // in order to preserve the const inheritance of the virtual functions, we have to
- // use mutable variables starting from CWPro 5
-
- void MacInstallFont() const ;
- void MacInstallPen() const ;
- void MacInstallBrush() const ;
-
- mutable bool m_macFontInstalled ;
- mutable bool m_macPenInstalled ;
- mutable bool m_macBrushInstalled ;
-
- Rect m_macClipRect ;
- Point m_macLocalOrigin ;
- void MacSetupPort( AGAPortHelper* ph ) const ;
+ // not yet used
+ bool m_needComputeScaleX,m_needComputeScaleY;
+ // If un-scrolled is non-zero or d.o. changes with scrolling.
+ // Set using SetInternalDeviceOrigin().
+ long m_internalDeviceOriginX,m_internalDeviceOriginY;
+ // To be set by external classes such as wxScrolledWindow
+ // using SetDeviceOrigin()
+ long m_externalDeviceOriginX,m_externalDeviceOriginY;
+
+ // Begin implementation for Mac
+ public:
+
+ WXHDC m_macPort ;
+ WXHBITMAP m_macMask ;
+
+ // in order to preserve the const inheritance of the virtual functions, we have to
+ // use mutable variables starting from CWPro 5
+
+ void MacInstallFont() const ;
+ void MacInstallPen() const ;
+ void MacInstallBrush() const ;
+
+ mutable bool m_macFontInstalled ;
+ mutable bool m_macPenInstalled ;
+ mutable bool m_macBrushInstalled ;
+
+ WXHRGN m_macBoundaryClipRgn ;
+ WXHRGN m_macCurrentClipRgn ;
+ wxPoint m_macLocalOrigin ;
+ void MacSetupPort( wxMacPortStateHelper* ph ) const ;
+ void MacCleanupPort( wxMacPortStateHelper* ph ) const ;
+ mutable void* m_macATSUIStyle ;
+ mutable wxMacPortStateHelper* m_macCurrentPortStateHelper ;
+ mutable bool m_macFormerAliasState ;
+ mutable short m_macFormerAliasSize ;
+ mutable bool m_macAliasWasEnabled ;
+ mutable void* m_macForegroundPixMap ;
+ mutable void* m_macBackgroundPixMap ;