X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbfb8bcc3fa17e079d4219655b173f8ed2ccc65a..687b91d266990129fbbb8c21d92fa4298b458352:/include/wx/mac/carbon/accel.h diff --git a/include/wx/mac/carbon/accel.h b/include/wx/mac/carbon/accel.h index 6d34d460d8..742b460190 100644 --- a/include/wx/mac/carbon/accel.h +++ b/include/wx/mac/carbon/accel.h @@ -22,23 +22,15 @@ public: wxAcceleratorTable(); wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array - // Copy constructors - wxAcceleratorTable(const wxAcceleratorTable& accel) - : wxObject() - { Ref(accel); } - wxAcceleratorTable(const wxAcceleratorTable* accel) - { if (accel) Ref(*accel); } + virtual ~wxAcceleratorTable(); - ~wxAcceleratorTable(); - - wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) - { if (*this == accel) return (*this); Ref(accel); return *this; } bool operator == (const wxAcceleratorTable& accel) const { return m_refData == accel.m_refData; } bool operator != (const wxAcceleratorTable& accel) const { return m_refData != accel.m_refData; } - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; int GetCommand( wxKeyEvent &event ); };