X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..6c6bf502f996f48bf200c3588cd21b1921756d71:/src/msw/accel.cpp?ds=sidebyside diff --git a/src/msw/accel.cpp b/src/msw/accel.cpp index 563ce9929c..b25c03c146 100644 --- a/src/msw/accel.cpp +++ b/src/msw/accel.cpp @@ -26,6 +26,8 @@ #include "wx/accel.h" +#if wxUSE_ACCEL + #include "wx/msw/private.h" IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject) @@ -166,3 +168,4 @@ bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const return Ok() && ::TranslateAccelerator(GetHwndOf(window), GetHaccel(), msg); } +#endif