From 0601befc27975f00e6fe6ef125c0fb29af0a5852 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 18 May 2012 09:56:33 +0000 Subject: [PATCH] fixing c++11 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/window_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 22bb1ed118..a164fdea47 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -2531,7 +2531,7 @@ Rect wxMacGetBoundsForControl( wxWindowMac* window , const wxPoint& pos , const int x, y, w, h ; window->MacGetBoundsForControl( pos , size , x , y, w, h , adjustForOrigin ) ; - Rect bounds = { y, x, y + h, x + w }; + Rect bounds = { static_cast(y), static_cast(x), static_cast(y + h), static_cast(x + w) }; return bounds ; } -- 2.45.2