X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa03793d3bf2b76a753483ddf12abfd35eebe7a0..9c34dd9deafaa428534b498b90799687a7dcddaa:/src/generic/accel.cpp 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;