X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..a8e6bf8ae22d1d76bcbe1e42519b2f425718fbc2:/src/mac/region.cpp?ds=sidebyside diff --git a/src/mac/region.cpp b/src/mac/region.cpp index afe12ce603..315b966927 100644 --- a/src/mac/region.cpp +++ b/src/mac/region.cpp @@ -194,7 +194,7 @@ bool wxRegion::Combine(const wxRect& rect, wxRegionOp op) //----------------------------------------------------------------------------- // Outer bounds of region -void wxRegion::GetBox(long& x, long& y, long&w, long &h) const +void wxRegion::GetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const { if (m_refData) { @@ -213,7 +213,7 @@ void wxRegion::GetBox(long& x, long& y, long&w, long &h) const wxRect wxRegion::GetBox() const { - long x, y, w, h; + wxCoord x, y, w, h; GetBox(x, y, w, h); return wxRect(x, y, w, h); }