X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..1e52188741389278cd99abf79218162c87024ba3:/src/msw/menuitem.cpp diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index e55b17d334..09ef0d039f 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -17,7 +17,7 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "menuitem.h" #endif @@ -349,7 +349,10 @@ void wxMenuItem::SetText(const wxString& text) #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);