Applied [ 609518 ] wxImage: const comp. operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -911,7 +911,7 @@ Returns 'this' object.
|
||||
|
||||
\membersection{wxImage::operator $==$}
|
||||
|
||||
\func{bool}{operator $==$}{\param{const wxImage\& }{image}}
|
||||
\constfunc{bool}{operator $==$}{\param{const wxImage\& }{image}}
|
||||
|
||||
Equality operator. This operator tests whether the internal data pointers are
|
||||
equal (a fast test).
|
||||
@@ -926,7 +926,7 @@ Returns TRUE if the images were effectively equal, FALSE otherwise.
|
||||
|
||||
\membersection{wxImage::operator $!=$}
|
||||
|
||||
\func{bool}{operator $!=$}{\param{const wxImage\& }{image}}
|
||||
\constfunc{bool}{operator $!=$}{\param{const wxImage\& }{image}}
|
||||
|
||||
Inequality operator. This operator tests whether the internal data pointers are
|
||||
unequal (a fast test).
|
||||
|
@@ -248,9 +248,9 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator == (const wxImage& image)
|
||||
bool operator == (const wxImage& image) const
|
||||
{ return m_refData == image.m_refData; }
|
||||
bool operator != (const wxImage& image)
|
||||
bool operator != (const wxImage& image) const
|
||||
{ return m_refData != image.m_refData; }
|
||||
|
||||
static wxList& GetHandlers() { return sm_handlers; }
|
||||
|
Reference in New Issue
Block a user