]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix to FIXME: better nothing than broken comparison.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 3 Dec 2004 15:38:35 +0000 (15:38 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 3 Dec 2004 15:38:35 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/accel.h

index 1d05a92a99fbf8a01dc87e6432b7155f1aafaec6..5bccb069a974216b1535e4d091e6f3081e2f2c6e 100644 (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;