]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/accel.h
fixed compilation with CW8 (SF patch 567845) and also added alignment fillers for...
[wxWidgets.git] / include / wx / generic / accel.h
index bdd4ff8a85f29692f35d264cda5412e9a4750208..2067e0fd23551e72f1f66ee5c0cee6e195ba51b4 100644 (file)
@@ -24,11 +24,12 @@ class WXDLLEXPORT wxAcceleratorTable : public wxObject
 {
 public:
     wxAcceleratorTable();
-    wxAcceleratorTable(int n, wxAcceleratorEntry entries[]);
+    wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]);
     virtual ~wxAcceleratorTable();
 
     wxAcceleratorTable(const wxAcceleratorTable& accel)
-      { Ref(accel); }
+        : wxObject()
+        { Ref(accel); }
     wxAcceleratorTable& operator=(const wxAcceleratorTable& accel)
       { if ( m_refData != accel.m_refData ) Ref(accel); return *this; }