]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/brush.cpp
changed wxHAS_NATIVE_OVERLAY and wxHAS_CARET_USING_OVERLAYS to use #ifdef instead...
[wxWidgets.git] / src / mac / carbon / brush.cpp
index ae77b03b209ff5de6c2d287b2af20f4e9b73ae20..88dd4bc8deacf5e35dce4a85f39fc357fae7d2f2 100644 (file)
 
 #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);
 }
-