wxWidgets/samples/menu
Dimitri Schoolwerth 6b12639c49 Fix failing Win32 calls with checkable menu item.
Since r76202 InsertMenuItem is used when adding checkable menu items even
without a bitmap. The call fails because hbmpChecked and hbmpUnchecked are
set to HBMMENU_CALLBACK on pre-Vista, making the menu owner drawn
unnecessarily.

Fix by adding GetHBitmapForMenuCheckable which is used when assigning
values to hbmpChecked and hbmpUnchecked. GetHBitmapForMenu remains
unchanged (for possible porting reasons) and is used for hBmpItem only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-23 20:05:30 +00:00
..
copy.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
descrip.mms
makefile.bcc Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
makefile.gcc Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
Makefile.in Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
makefile.unx Remove wxMGL port. 2012-01-15 14:46:41 +00:00
makefile.vc Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
menu_vc7.vcproj Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
menu_vc8.vcproj Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
menu_vc9.vcproj Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
menu.bkl Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
menu.cpp Fix failing Win32 calls with checkable menu item. 2014-06-23 20:05:30 +00:00