X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..5dafb071ba85e7329aa4a0ac176f3ec8e13e55dc:/src/mac/classic/brush.cpp diff --git a/src/mac/classic/brush.cpp b/src/mac/classic/brush.cpp index 49d0c53ad2..a848d256dd 100644 --- a/src/mac/classic/brush.cpp +++ b/src/mac/classic/brush.cpp @@ -9,10 +9,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/setup.h" -#include "wx/utils.h" +#include "wx/wxprec.h" + #include "wx/brush.h" +#ifndef WX_PRECOMP + #include "wx/utils.h" +#endif + #include "wx/mac/private.h" IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject) @@ -23,7 +27,7 @@ class WXDLLEXPORT wxBrushRefData: public wxGDIRefData public: wxBrushRefData(); wxBrushRefData(const wxBrushRefData& data); - ~wxBrushRefData(); + virtual ~wxBrushRefData(); protected: wxMacBrushKind m_macBrushKind ; @@ -128,7 +132,7 @@ void wxBrush::SetColour(const wxColour& col) RealizeResource(); } -void wxBrush::SetColour(const unsigned char r, const unsigned char g, const unsigned char b) +void wxBrush::SetColour(unsigned char r, unsigned char g, unsigned char b) { Unshare();