]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/brush.cpp
PCH support.
[wxWidgets.git] / src / mac / carbon / brush.cpp
index da0346fb57c91c3730ecacf01cd4cf30ffdb17b2..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 ;
@@ -190,8 +193,8 @@ bool wxBrush::RealizeResource()
 {
     return true;
 }
-unsigned long wxBrush::MacGetThemeBackground( WXRECTPTR extent) const
-unsigned long wxBrush::MacGetThemeBackground( WXRECTPTR extent)  const
+
+unsigned long wxBrush::MacGetThemeBackground(WXRECTPTR extent) const
 {
     if ( M_BRUSHDATA && M_BRUSHDATA->m_macBrushKind == kwxMacBrushThemeBackground )
     {
@@ -230,4 +233,3 @@ wxMacBrushKind wxBrush::MacGetBrushKind() const
 {
     return (M_BRUSHDATA ? M_BRUSHDATA->m_macBrushKind : kwxMacBrushColour);
 }
-