diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 9f206f30fc..20ad31eebe 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -247,6 +247,7 @@ public: wxRealPoint operator-(const wxRealPoint& pt) const { return wxRealPoint(x - pt.x, y - pt.y); } bool operator==(const wxRealPoint& pt) const { return x == pt.x && y == pt.y; } + bool operator!=(const wxRealPoint& pt) const { return x != pt.x || y != pt.y; } }; class WXDLLEXPORT wxPoint