X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..e4a4a50b904a3194851fe5f81e09e266bb161596:/include/wx/msw/accel.h?ds=inline 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: