]> git.saurik.com Git - wxWidgets.git/commitdiff
Added wxUSE_ACCEL guard.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Aug 2009 17:24:40 +0000 (17:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Aug 2009 17:24:40 +0000 (17:24 +0000)
Closes #11074.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/accel.cpp

index d1d535207d1769750a448cf05206b43f39910847..616e9b00c8d342d4bd409e5fecab174f50d0fe3e 100644 (file)
@@ -11,6 +11,8 @@
 
 #include "wx/wxprec.h"
 
 
 #include "wx/wxprec.h"
 
+#if wxUSE_ACCEL
+
 #include "wx/accel.h"
 
 #ifndef WX_PRECOMP
 #include "wx/accel.h"
 
 #ifndef WX_PRECOMP
@@ -106,4 +108,6 @@ int wxAcceleratorTable::GetCommand( wxKeyEvent &event )
     return -1;
 }
 
     return -1;
 }
 
-#endif
\ No newline at end of file
+#endif
+
+#endif // wxUSE_ACCEL