// headers
// ---------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "menuitem.h"
#endif
#ifdef __WXWINCE__
// FIXME: complete this, applying the old
- // flags
+ // flags.
+ // However, the WinCE doc for SetMenuItemInfo
+ // says that you can't use it to set the menu
+ // item state; only data, id and type.
MENUITEMINFO info;
wxZeroMemory(info);
info.cbSize = sizeof(info);