Applied patch [ 654877 ] Missing == != methods in wxRect2DInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -735,8 +735,8 @@ public:
|
|||||||
m_width *= ((wxInt32)num)/((wxInt32)denum); m_height *= ((wxInt32)num)/((wxInt32)denum);}
|
m_width *= ((wxInt32)num)/((wxInt32)denum); m_height *= ((wxInt32)num)/((wxInt32)denum);}
|
||||||
|
|
||||||
wxRect2DInt& operator = (const wxRect2DInt& rect);
|
wxRect2DInt& operator = (const wxRect2DInt& rect);
|
||||||
bool operator == (const wxRect2DInt& rect);
|
bool operator == (const wxRect2DInt& rect) const;
|
||||||
bool operator != (const wxRect2DInt& rect);
|
bool operator != (const wxRect2DInt& rect) const;
|
||||||
|
|
||||||
void WriteTo( wxDataOutputStream &stream ) const;
|
void WriteTo( wxDataOutputStream &stream ) const;
|
||||||
void ReadFrom( wxDataInputStream &stream );
|
void ReadFrom( wxDataInputStream &stream );
|
||||||
@@ -763,6 +763,17 @@ inline wxRect2DInt::wxRect2DInt( const wxPoint2DInt &a , const wxPoint2DInt &b)
|
|||||||
m_height = abs( a.m_y - b.m_y );
|
m_height = abs( a.m_y - b.m_y );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline bool wxRect2DInt::operator == (const wxRect2DInt& rect) const
|
||||||
|
{
|
||||||
|
return (m_x==rect.m_x && m_y==rect.m_y &&
|
||||||
|
m_width==rect.m_width && m_height==rect.m_height);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline bool wxRect2DInt::operator != (const wxRect2DInt& rect) const
|
||||||
|
{
|
||||||
|
return !(*this == rect);
|
||||||
|
}
|
||||||
|
|
||||||
class wxTransform2D
|
class wxTransform2D
|
||||||
{
|
{
|
||||||
public :
|
public :
|
||||||
|
Reference in New Issue
Block a user