diff --git a/interface/wx/gdicmn.h b/interface/wx/gdicmn.h index 9305d54a31..f5bacacbce 100644 --- a/interface/wx/gdicmn.h +++ b/interface/wx/gdicmn.h @@ -233,6 +233,8 @@ public: wxRealPoint& operator /=(int divisor); wxRealPoint& operator *=(int factor); + wxRealPoint operator *(const wxRealPoint& pt, double factor); + wxRealPoint operator *(double factor, const wxRealPoint& pt); wxRealPoint operator /(const wxRealPoint& pt, double divisor); ///@} @@ -733,6 +735,8 @@ public: wxPoint& operator +=(const wxSize& sz); wxPoint& operator -=(const wxSize& sz); + wxPoint operator -(const wxPoint& pt); + wxPoint operator /(const wxPoint& sz, int divisor); wxPoint operator *(const wxPoint& sz, int factor); wxPoint operator *(int factor, const wxPoint& sz); @@ -740,6 +744,8 @@ public: wxPoint& operator *=(int factor); wxPoint operator /(const wxPoint& pt, double divisor); + wxPoint operator *(const wxPoint& pt, double factor); + wxPoint operator *(double factor, const wxPoint& pt); ///@}