From f0a3fd54001627bed7c4ebca23d736a3eb5ab0bf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 21 Oct 2002 20:08:59 +0000 Subject: [PATCH] Added wxRealPoint::operator!= for consistency git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gdicmn.h | 1 + 1 file changed, 1 insertion(+) 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