X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78606adf3a792c767d6498882e81547990180c96..6862383251a9f1f103182c04f0d60bb1dac919c6:/src/mac/carbon/brush.cpp?ds=sidebyside diff --git a/src/mac/carbon/brush.cpp b/src/mac/carbon/brush.cpp index ae77b03b20..88dd4bc8de 100644 --- a/src/mac/carbon/brush.cpp +++ b/src/mac/carbon/brush.cpp @@ -11,9 +11,12 @@ #include "wx/wxprec.h" -#include "wx/utils.h" #include "wx/brush.h" +#ifndef WX_PRECOMP + #include "wx/utils.h" +#endif + #include "wx/mac/private.h" IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject) @@ -25,7 +28,7 @@ class WXDLLEXPORT wxBrushRefData: public wxGDIRefData public: wxBrushRefData(); wxBrushRefData(const wxBrushRefData& data); - ~wxBrushRefData(); + virtual ~wxBrushRefData(); protected: wxMacBrushKind m_macBrushKind ; @@ -230,4 +233,3 @@ wxMacBrushKind wxBrush::MacGetBrushKind() const { return (M_BRUSHDATA ? M_BRUSHDATA->m_macBrushKind : kwxMacBrushColour); } -