Back to broken comparison until it is not fixed other way.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-12-10 07:28:25 +00:00
parent 4c683a3021
commit de4b00500f

View File

@ -39,12 +39,13 @@ public:
wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; } wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; }
#if WXWIN_COMPATIBILITY_2_4 // #if WXWIN_COMPATIBILITY_2_4
// fixme: it is still used in 'operator =' above
bool operator==(const wxAcceleratorTable& accel) const bool operator==(const wxAcceleratorTable& accel) const
{ return m_refData == accel.m_refData; } { return m_refData == accel.m_refData; }
bool operator!=(const wxAcceleratorTable& accel) const bool operator!=(const wxAcceleratorTable& accel) const
{ return !(*this == accel); } { return !(*this == accel); }
#endif // #endif
bool Ok() const; bool Ok() const;
void SetHACCEL(WXHACCEL hAccel); void SetHACCEL(WXHACCEL hAccel);