From be326aad648bf52384a45030628b9f4f05b77c1b Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 26 Oct 2006 10:37:21 +0000 Subject: [PATCH] Less drastic compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 5d48faebf4..65affb6e59 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -416,7 +416,7 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) // while our owner-drawn code is not // first compile-time check -#if defined(MIIM_BITMAP) && !defined(__MINGW32__) +#if defined(MIIM_BITMAP) && (_WIN32_WINNT >= 0x0500) WinStruct mii; // now run-time one: MIIM_BITMAP only works under WinME/2000+