wxWidgets/samples
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
..
access Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
animate Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
artprov Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
aui Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
calendar Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
caret Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
clipboard Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
collpane Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
combo Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
config Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
console Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
controls Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
dataview Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
debugrpt Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
dialogs Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
dialup Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
display Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
dll Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
dnd Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
docview Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
dragimag Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
drawing Add public wxDegToRad() and wxRadToDeg() functions. 2014-05-17 12:29:15 +00:00
erase Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
event Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
except Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
exec Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
flash Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
font Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
fswatcher Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
grid Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
help Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
htlbox Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
html Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
image Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
internat Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
ipc Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
joytest Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
keyboard Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
layout Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
listctrl Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
mdi Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
mediaplayer Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
memcheck Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
menu Fix failing Win32 calls with checkable menu item. 2014-06-23 20:05:30 +00:00
mfc Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
minimal Fix misspellings of "occurred" and "occurrences". 2014-06-11 15:25:33 +00:00
nativdlg Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
notebook Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
oleauto Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
opengl Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
ownerdrw Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
popup Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
power Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
preferences Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
printing Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
propgrid Fix wxVector3f ctor in the propgrid sample. 2014-06-23 01:08:31 +00:00
regtest Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
render Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
ribbon Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
richtext Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
sashtest Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
scroll Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
shaped Show the shaped frame with start shape initially in the sample. 2014-06-10 00:38:42 +00:00
sockets Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
sound Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
splash Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
splitter Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
statbar Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
stc Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
svg Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
taborder Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
taskbar Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
text Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
thread Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
toolbar Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
treectrl Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
treelist Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
typetest Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
uiaction Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
validate Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
vscroll Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
webview Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
widgets Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
wizard Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
wrapsizer Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
xrc Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
xti Remove (Open)Watcom support. 2014-05-16 13:01:06 +00:00
Info.plist Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
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 Add distclean target to samples/Makefile. 2012-11-01 17:14:59 +00:00
makefile.vc Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
sample_os2.ico
sample.ico
sample.r
sample.rc Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sample.rc4
sample.rcO
sample.xpm
samples.bkl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00