X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffc93a32d83c17e9037aefb3a7e076721a1552a8..be88a6ade981b99d55fa1da20cd1a12be4a075f2:/src/mac/carbon/accel.cpp diff --git a/src/mac/carbon/accel.cpp b/src/mac/carbon/accel.cpp index 181460adf4..ca83c8db9a 100644 --- a/src/mac/carbon/accel.cpp +++ b/src/mac/carbon/accel.cpp @@ -46,8 +46,8 @@ public: #define M_ACCELDATA ((wxAcceleratorRefData *)m_refData) wxAcceleratorRefData::wxAcceleratorRefData() + : m_accels() { - m_accels.DeleteContents( TRUE ); } wxAcceleratorRefData::~wxAcceleratorRefData() @@ -57,7 +57,7 @@ wxAcceleratorRefData::~wxAcceleratorRefData() wxAcceleratorTable::wxAcceleratorTable() { - m_refData = NULL; + m_refData = NULL; } wxAcceleratorTable::~wxAcceleratorTable() @@ -65,7 +65,7 @@ wxAcceleratorTable::~wxAcceleratorTable() } // Create from an array -wxAcceleratorTable::wxAcceleratorTable(int n, wxAcceleratorEntry entries[]) +wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]) { m_refData = new wxAcceleratorRefData;