X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..3039ade95dbad1ee5a5ed03c25e3ed9241907850:/include/wx/palmos/accel.h diff --git a/include/wx/palmos/accel.h b/include/wx/palmos/accel.h index e1970d25b7..4f82696b8d 100644 --- a/include/wx/palmos/accel.h +++ b/include/wx/palmos/accel.h @@ -16,7 +16,7 @@ // the accel table has all accelerators for a given window or menu // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxAcceleratorTable : public wxObject +class WXDLLIMPEXP_CORE wxAcceleratorTable : public wxObject { public: // default ctor @@ -30,14 +30,8 @@ public: virtual ~wxAcceleratorTable(); -#if WXWIN_COMPATIBILITY_2_4 - bool operator==(const wxAcceleratorTable& accel) const - { return m_refData == accel.m_refData; } - bool operator!=(const wxAcceleratorTable& accel) const - { return !(*this == accel); } -#endif - - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; void SetHACCEL(WXHACCEL hAccel); WXHACCEL GetHACCEL() const;