Fix to FIXME: better nothing than broken comparison.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-12-03 15:38:35 +00:00
parent cb9d5bd07e
commit 84df104241

View File

@ -33,10 +33,12 @@ public:
wxAcceleratorTable& operator=(const wxAcceleratorTable& accel)
{ if ( m_refData != accel.m_refData ) Ref(accel); return *this; }
#if WXWIN_COMPATIBILITY_2_4
bool operator==(const wxAcceleratorTable& accel) const
{ return m_refData == accel.m_refData; } // FIXME: this is wrong (VZ)
{ return m_refData == accel.m_refData; }
bool operator!=(const wxAcceleratorTable& accel) const
{ return !(*this == accel); }
#endif
bool Ok() const;