From c0cd186f82be8ec2db788f26780f319b0e57cbf8 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Tue, 30 Jan 2001 21:26:23 +0000 Subject: [PATCH] changed argument types (replaced long with wxCoord) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/region.h | 2 +- src/mac/carbon/region.cpp | 4 ++-- src/mac/region.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/wx/mac/region.h b/include/wx/mac/region.h index bbe826196d..aa7d718d73 100644 --- a/include/wx/mac/region.h +++ b/include/wx/mac/region.h @@ -80,7 +80,7 @@ public: //# Information on region // Outer bounds of region - void GetBox(long& x, long& y, long&w, long &h) const; + void GetBox(wxCoord& x, wxCoord& y, wxCoord&w, wxCoord &h) const; wxRect GetBox() const ; // Is region empty? diff --git a/src/mac/carbon/region.cpp b/src/mac/carbon/region.cpp index afe12ce603..315b966927 100644 --- a/src/mac/carbon/region.cpp +++ b/src/mac/carbon/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); } 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); } -- 2.45.2