added unary wxPoint::operator-
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ee4c13659b
commit
24b800a957
@ -307,6 +307,8 @@ public:
|
||||
|
||||
wxPoint operator+(const wxSize& s) const { return wxPoint(x + s.GetWidth(), y + s.GetHeight()); }
|
||||
wxPoint operator-(const wxSize& s) const { return wxPoint(x - s.GetWidth(), y - s.GetHeight()); }
|
||||
|
||||
wxPoint operator-() const { return wxPoint(-x, -y); }
|
||||
};
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user