added wxRect2DDouble == != = operators (patch 684616)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-03-02 23:44:56 +00:00
parent a02afd1452
commit 7dc85fe2be
2 changed files with 13 additions and 4 deletions

View File

@@ -634,11 +634,11 @@ public:
{ m_x *= ((wxDouble)num)/((wxDouble)denum); m_y *= ((wxDouble)num)/((wxDouble)denum);
m_width *= ((wxDouble)num)/((wxDouble)denum); m_height *= ((wxDouble)num)/((wxDouble)denum);}
/*
wxRect2DDouble& operator = (const wxRect2DDouble& rect);
bool operator == (const wxRect2DDouble& rect);
bool operator != (const wxRect2DDouble& rect);
*/
inline bool operator == (const wxRect2DDouble& rect)
{ return (m_x==rect.m_x && m_y==rect.m_y && m_width==rect.m_width && m_height==rect.m_height); }
inline bool operator != (const wxRect2DDouble& rect)
{ return !(*this == rect); }
wxDouble m_x;
wxDouble m_y;