]> git.saurik.com Git - wxWidgets.git/commitdiff
Using MinGW 3, no hbmpItem
authorJulian Smart <julian@anthemion.co.uk>
Thu, 26 Oct 2006 09:05:02 +0000 (09:05 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 26 Oct 2006 09:05:02 +0000 (09:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/menu.cpp

index 28581bd470261c959f2bfdcc5b5380551852a74c..5d48faebf45e0e4d59b75d1e0ba02e48c9c40633 100644 (file)
@@ -416,7 +416,7 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos)
             // while our owner-drawn code is not
 
             // first compile-time check
-#ifdef MIIM_BITMAP
+#if defined(MIIM_BITMAP) && !defined(__MINGW32__)
             WinStruct<MENUITEMINFO> mii;
 
             // now run-time one: MIIM_BITMAP only works under WinME/2000+