Correct wxRealPoint and wxPoint operator return types in the docs

Use the correct types instead of wxSize which was erroneously used
there ever since a5664fd6ef (Increase interoperability between wxPoint
and wxRealPoint introducing constructors which convert between the two
classes., 2010-06-09).

Closes #23804.
This commit is contained in:
David Miguel Susano Pinto 2024-01-03 17:55:41 +00:00 committed by Vadim Zeitlin
parent 261490d5e2
commit a8b14edc40

View file

@ -227,11 +227,11 @@ public:
wxRealPoint& operator +=(const wxSize& sz);
wxRealPoint& operator -=(const wxSize& sz);
wxSize operator /(const wxRealPoint& sz, int factor);
wxSize operator *(const wxRealPoint& sz, int factor);
wxSize operator *(int factor, const wxSize& sz);
wxSize& operator /=(int factor);
wxSize& operator *=(int factor);
wxRealPoint operator /(const wxRealPoint& sz, int factor);
wxRealPoint operator *(const wxRealPoint& sz, int factor);
wxRealPoint operator *(int factor, const wxRealPoint& sz);
wxRealPoint& operator /=(int factor);
wxRealPoint& operator *=(int factor);
///@}
/**
@ -731,11 +731,11 @@ public:
wxPoint& operator +=(const wxSize& sz);
wxPoint& operator -=(const wxSize& sz);
wxSize operator /(const wxPoint& sz, int factor);
wxSize operator *(const wxPoint& sz, int factor);
wxSize operator *(int factor, const wxSize& sz);
wxSize& operator /=(int factor);
wxSize& operator *=(int factor);
wxPoint operator /(const wxPoint& sz, int factor);
wxPoint operator *(const wxPoint& sz, int factor);
wxPoint operator *(int factor, const wxPoint& sz);
wxPoint& operator /=(int factor);
wxPoint& operator *=(int factor);
///@}