fixing c++11 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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<short>(y), static_cast<short>(x), static_cast<short>(y + h), static_cast<short>(x + w) };
|
||||
|
||||
return bounds ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user