X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/833e100f7ff356db8469721ae104b6b2177c0dae..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/include/wx/osx/carbon/region.h diff --git a/include/wx/osx/carbon/region.h b/include/wx/osx/carbon/region.h index eec9be0037..f9c3fe3dd3 100644 --- a/include/wx/osx/carbon/region.h +++ b/include/wx/osx/carbon/region.h @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -87,7 +86,7 @@ public: long GetWidth() const { return GetW(); } long GetH() const; long GetHeight() const { return GetH(); } - wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } + wxRect GetRect() const { return wxRect((int)GetX(), (int)GetY(), (int)GetWidth(), (int)GetHeight()); } private: void SetRects(long numRects, wxRect *rects);