From: Vadim Zeitlin Date: Wed, 5 Aug 2009 17:24:40 +0000 (+0000) Subject: Added wxUSE_ACCEL guard. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/666db5d11c2dbcc172dde024e819b17ffaf472c1 Added wxUSE_ACCEL guard. Closes #11074. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/accel.cpp b/src/osx/accel.cpp index d1d535207d..616e9b00c8 100644 --- a/src/osx/accel.cpp +++ b/src/osx/accel.cpp @@ -11,6 +11,8 @@ #include "wx/wxprec.h" +#if wxUSE_ACCEL + #include "wx/accel.h" #ifndef WX_PRECOMP @@ -106,4 +108,6 @@ int wxAcceleratorTable::GetCommand( wxKeyEvent &event ) return -1; } -#endif \ No newline at end of file +#endif + +#endif // wxUSE_ACCEL