]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/carbon/region.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / osx / carbon / region.h
index eec9be0037ec614fba75c3b56fb41dfbb0f8de98..f9c3fe3dd369727fbf1530031ac70926d7dac649 100644 (file)
@@ -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);