From: Vadim Zeitlin Date: Tue, 7 Jun 2005 20:13:48 +0000 (+0000) Subject: InsertMenuItem() works with bitmaps under Win98 too (not only ME) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/783e2cc6489ddc014176c9e7556921332921be98?ds=inline InsertMenuItem() works with bitmaps under Win98 too (not only ME) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 05b9370dbf..462bea448b 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -398,7 +398,7 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos) WinStruct mii; // now run-time one: MIIM_BITMAP only works under WinME/2000+ - if ( wxGetWinVersion() >= wxWinVersion_5 ) + if ( wxGetWinVersion() >= wxWinVersion_98 ) { mii.fMask = MIIM_ID | MIIM_STRING | MIIM_DATA | MIIM_BITMAP; mii.wID = id;