X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3a44e057b5183acdf2cf133f059cf94c7884738..3f4a2351e4c677c88c18ea812b609477adee7380:/src/mac/classic/region.cpp?ds=sidebyside diff --git a/src/mac/classic/region.cpp b/src/mac/classic/region.cpp index 4bfadfd5bb..6d3e1bafc5 100644 --- a/src/mac/classic/region.cpp +++ b/src/mac/classic/region.cpp @@ -12,7 +12,10 @@ #include "wx/region.h" -#include "wx/gdicmn.h" +#ifndef WX_PRECOMP + #include "wx/gdicmn.h" +#endif + #include "wx/mac/uma.h" IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject) @@ -36,7 +39,7 @@ public: CopyRgn( data.m_macRgn , m_macRgn ) ; } - ~wxRegionRefData() + virtual ~wxRegionRefData() { DisposeRgn( m_macRgn ) ; }