X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..ce336c6d76d8c513487af08857c1cd3cbe806d30:/include/wx/msw/accel.h diff --git a/include/wx/msw/accel.h b/include/wx/msw/accel.h index b3fa62a00a..e68e66b653 100644 --- a/include/wx/msw/accel.h +++ b/include/wx/msw/accel.h @@ -27,7 +27,7 @@ public: wxAcceleratorTable(); // copy ctor - wxAcceleratorTable(const wxAcceleratorTable& accel) { Ref(accel); } + wxAcceleratorTable(const wxAcceleratorTable& accel) : wxObject(accel) { Ref(accel); } // load from .rc resource (Windows specific) wxAcceleratorTable(const wxString& resource); @@ -47,7 +47,7 @@ public: void SetHACCEL(WXHACCEL hAccel); WXHACCEL GetHACCEL() const; - // translate the accelerator, return TRUE if done + // translate the accelerator, return true if done bool Translate(wxWindow *window, WXMSG *msg) const; private: