Less drastic compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a305d600e2
commit
be326aad64
@ -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<MENUITEMINFO> mii;
|
||||
|
||||
// now run-time one: MIIM_BITMAP only works under WinME/2000+
|
||||
|
Loading…
Reference in New Issue
Block a user