#ifndef _WX_DC_H_
#define _WX_DC_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dc.h"
#endif
class WXDLLEXPORT wxDC: public wxDCBase
{
- DECLARE_DYNAMIC_CLASS(wxDC)
+ DECLARE_DYNAMIC_CLASS(wxDC)
+ DECLARE_NO_COPY_CLASS(wxDC)
public:
//
protected:
- virtual void DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
+ virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
int style = wxFLOOD_SURFACE);
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const;
mutable bool m_macPenInstalled ;
mutable bool m_macBrushInstalled ;
- WXHRGN m_macBoundaryClipRgn ;
- WXHRGN m_macCurrentClipRgn ;
+ 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 ;
};
#endif