X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/477594f73777791a3341416d995b5d6341010bb3..158b668823e14d9b42c9e7fe0281d35924192c68:/include/wx/mac/dc.h diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index cfc9958cf8..679130d65b 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dc.h" #endif @@ -50,7 +50,8 @@ class wxMacPortStateHelper ; class WXDLLEXPORT wxDC: public wxDCBase { - DECLARE_DYNAMIC_CLASS(wxDC) + DECLARE_DYNAMIC_CLASS(wxDC) + DECLARE_NO_COPY_CLASS(wxDC) public: @@ -189,7 +190,7 @@ class WXDLLEXPORT wxDC: public wxDCBase // 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;