X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..e22cf4b310aa1cac5f21879823aa26be4c804c24:/include/wx/palmos/accel.h diff --git a/include/wx/palmos/accel.h b/include/wx/palmos/accel.h index 1fdc34b5a7..f47b035a5f 100644 --- a/include/wx/palmos/accel.h +++ b/include/wx/palmos/accel.h @@ -22,9 +22,6 @@ public: // default ctor wxAcceleratorTable(); - // copy ctor - wxAcceleratorTable(const wxAcceleratorTable& accel) { Ref(accel); } - // load from .rc resource (Windows specific) wxAcceleratorTable(const wxString& resource); @@ -33,16 +30,8 @@ public: virtual ~wxAcceleratorTable(); - wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if ( *this != accel ) Ref(accel); return *this; } - -#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;