From fb0165dfff532675588bff0e7235417771cd45bc Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 10 Jun 2010 11:53:32 +0000 Subject: [PATCH] Suppress warning about double->int conversion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gdicmn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 1c3601f86c..a72fc76e27 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -512,7 +512,7 @@ public: wxPoint() : x(0), y(0) { } wxPoint(int xx, int yy) : x(xx), y(yy) { } - wxPoint(const wxRealPoint& pt) : x(pt.x), y(pt.y) { } + wxPoint(const wxRealPoint& pt) : x(int(pt.x)), y(int(pt.y)) { } // no copy ctor or assignment operator - the defaults are ok -- 2.45.2