// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "accel.h"
#endif
#include "wx/accel.h"
+#if wxUSE_ACCEL
+
#include "wx/msw/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
return Ok() && ::TranslateAccelerator(GetHwndOf(window), GetHaccel(), msg);
}
+#endif