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