From 666db5d11c2dbcc172dde024e819b17ffaf472c1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 5 Aug 2009 17:24:40 +0000 Subject: [PATCH] Added wxUSE_ACCEL guard. Closes #11074. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/accel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.45.2