]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/accel.cpp
Applied patch [ 677730 ] Menus with radio items (wxUniv)
[wxWidgets.git] / src / generic / accel.cpp
index 21a745b598d4b42e84d4b6d2941c66be70030ea5..bede8f488c4f5e5ef0c189cd26a7a97d334c11fd 100644 (file)
@@ -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;