X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa03793d3bf2b76a753483ddf12abfd35eebe7a0..6f7c5199ed9bc29507d426b13db9346bf1860005:/src/generic/accel.cpp?ds=sidebyside diff --git a/src/generic/accel.cpp b/src/generic/accel.cpp index 21a745b598..bede8f488c 100644 --- a/src/generic/accel.cpp +++ b/src/generic/accel.cpp @@ -59,6 +59,7 @@ public: } wxAccelRefData(const wxAccelRefData& data) + : wxObjectRefData() { m_accels.DeleteContents(TRUE); m_accels = data.m_accels; @@ -85,7 +86,7 @@ wxAcceleratorTable::wxAcceleratorTable() { } -wxAcceleratorTable::wxAcceleratorTable(int n, wxAcceleratorEntry entries[]) +wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]) { m_refData = new wxAccelRefData;