From aefd52caefa57969728daffffdb236bc99243982 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 13 Jun 2024 13:30:21 +0200 Subject: [PATCH] Fix documentation of wxPoint2DInt multiplicative operators The overloads for wxInt32 were repeated twice while the overload taking wxDouble wasn't present at all. --- interface/wx/geometry.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/wx/geometry.h b/interface/wx/geometry.h index cff1c62234..0aa27e7fa9 100644 --- a/interface/wx/geometry.h +++ b/interface/wx/geometry.h @@ -63,12 +63,12 @@ public : wxPoint2DInt operator+(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); wxPoint2DInt operator-(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); wxPoint2DInt operator*(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); +wxPoint2DInt operator*(wxDouble n , const wxPoint2DInt& pt); wxPoint2DInt operator*(wxInt32 n , const wxPoint2DInt& pt); -wxPoint2DInt operator*(wxInt32 n , const wxPoint2DInt& pt); -wxPoint2DInt operator*(const wxPoint2DInt& pt , wxInt32 n); +wxPoint2DInt operator*(const wxPoint2DInt& pt , wxDouble n); wxPoint2DInt operator*(const wxPoint2DInt& pt , wxInt32 n); wxPoint2DInt operator/(const wxPoint2DInt& pt1 , const wxPoint2DInt& pt2); -wxPoint2DInt operator/(const wxPoint2DInt& pt , wxInt32 n); +wxPoint2DInt operator/(const wxPoint2DInt& pt , wxDouble n); wxPoint2DInt operator/(const wxPoint2DInt& pt , wxInt32 n);