From aaa22ee0607c2c081864129abd65c20e435cc0a8 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sat, 17 May 2014 21:31:25 +0000 Subject: [PATCH] Add 3 missing declarations for wxPoint2DInt non-member operator functions. Three duplicate declarations were removed in r70493 instead of replacing them with the missing declarations. Closes #10946. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/geometry.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/geometry.h b/include/wx/geometry.h index f60f88531b..287d083451 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -87,9 +87,12 @@ inline wxPoint2DInt operator+(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2) inline wxPoint2DInt operator-(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); inline wxPoint2DInt operator*(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); inline wxPoint2DInt operator*(wxInt32 n , const wxPoint2DInt& pt); +inline wxPoint2DInt operator*(wxDouble n , const wxPoint2DInt& pt); inline wxPoint2DInt operator*(const wxPoint2DInt& pt , wxInt32 n); +inline wxPoint2DInt operator*(const wxPoint2DInt& pt , wxDouble n); inline wxPoint2DInt operator/(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); inline wxPoint2DInt operator/(const wxPoint2DInt& pt , wxInt32 n); +inline wxPoint2DInt operator/(const wxPoint2DInt& pt , wxDouble n); inline wxPoint2DInt::wxPoint2DInt() {