From 84df104241be5e88ddad0edcfb924e3708159bc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 3 Dec 2004 15:38:35 +0000 Subject: [PATCH] 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 --- include/wx/generic/accel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/generic/accel.h b/include/wx/generic/accel.h index 1d05a92a99..5bccb069a9 100644 --- a/include/wx/generic/accel.h +++ b/include/wx/generic/accel.h @@ -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; -- 2.45.2