X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c67451472112b3c7bb3b425cfab523b2d38d0cf..8cee4a304f691adf6a8863abd303ea7ae34fefd5:/include/wx/generic/accel.h diff --git a/include/wx/generic/accel.h b/include/wx/generic/accel.h index 2067e0fd23..f69636a5b5 100644 --- a/include/wx/generic/accel.h +++ b/include/wx/generic/accel.h @@ -10,10 +10,6 @@ #ifndef _WX_GENERIC_ACCEL_H_ #define _WX_GENERIC_ACCEL_H_ -#ifdef __GNUG__ -#pragma interface "accel.h" -#endif - class WXDLLEXPORT wxKeyEvent; // ---------------------------------------------------------------------------- @@ -33,10 +29,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;