X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..6ae7410f5522bc6047b842359318fc9521353186:/include/wx/palmos/accel.h diff --git a/include/wx/palmos/accel.h b/include/wx/palmos/accel.h index 1fdc34b5a7..5c9b415759 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,8 +30,6 @@ 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; } @@ -42,7 +37,8 @@ public: { return !(*this == accel); } #endif - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; void SetHACCEL(WXHACCEL hAccel); WXHACCEL GetHACCEL() const;