wxWidgets/include/wx/msw
Václav Slavík 3821abef51 Handle WM_*MENU* events in wxWindow.
Contrary to MSDN implications, at least some of these messages are not
actually sent to the TLW for popup menus, but to the owning window or
even its parent window (!).

Move the handling of these events from wxTLW to wxWindow.  Move menu
depth tracking to wxFrame, because it only makes sense for frame's
menus and move DoGiveHelp() from wxTLW to wxFrame.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-06-18 12:51:39 +00:00
..
ole Remove obsolete MSVC version tests. 2014-05-16 13:01:29 +00:00
private Add a simple wrapper for Windows event handle object. 2014-06-02 01:15:25 +00:00
wince Remove support for Digital Mars compiler. 2014-05-16 13:01:23 +00:00
accel.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
amd64.manifest
anybutton.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
app.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
apptbase.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
apptrait.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
bitmap.h Fix alpha channel values when using wxGCDC with wxMemoryDC in wxMSW. 2014-01-19 13:15:52 +00:00
blank.cur
bmpbuttn.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
bmpcbox.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
brush.h Just deprecate but don't schedule for removal wxNORMAL and friends. 2014-01-06 12:42:37 +00:00
bullseye.cur Add white outline to bulls eye cursor used under MSW. 2010-03-16 14:48:02 +00:00
button.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
calctrl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
caret.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
cdrom.ico
checkbox.h Do export wxMSWOwnerDrawnButton from DLL in wxMSW. 2014-05-08 14:43:32 +00:00
checklst.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
child.ico
chkconf.h Remove checks for ancient gcc/MinGW versions. 2014-05-16 13:01:35 +00:00
choice.h Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
clipbrd.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
colordlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
colour.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
colours.bmp
combo.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
combobox.h Merge the changes from 3.0 branch. 2013-11-12 18:06:37 +00:00
commandlinkbutton.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
computer.ico
control.h Factor out common owner drawn code from wx{Check,Radio}Box. 2014-05-04 22:13:28 +00:00
crashrpt.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
cross.cur
csquery.bmp
ctrlsub.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
cursor.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
custombgwin.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
datectrl.h Fix wxMSW build when wxUSE_INTL==0. 2013-10-25 12:17:28 +00:00
datetimectrl.h Fix wxMSW build when wxUSE_INTL==0. 2013-10-25 12:17:28 +00:00
dc.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dcclient.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dcmemory.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dcprint.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dcscreen.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dde.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
debughlp.h Fix MinGW build after MSVC6 removal changes. 2014-05-16 02:31:48 +00:00
dialog.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dib.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dirdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dragimag.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
drive.ico
enhmeta.h Add wxEnhMetaFile::Detach(). 2014-03-11 16:04:22 +00:00
evtloop.h Refactor YieldFor() to avoid code duplication among the ports. 2014-03-02 18:58:00 +00:00
evtloopconsole.h Refactor YieldFor() to avoid code duplication among the ports. 2014-03-02 18:58:00 +00:00
fdrepdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
file1.ico
filedlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
floppy.ico
folder1.ico
folder2.ico
font.h Provide more detailed deprecation message for wxFont ctor. 2014-02-12 13:15:17 +00:00
fontdlg.h remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 2014-01-04 20:07:33 +00:00
frame.h Handle WM_*MENU* events in wxWindow. 2014-06-18 12:51:39 +00:00
fswatcher.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
gauge.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
gccpriv.h Remove checks for ancient gcc/MinGW versions. 2014-05-16 13:01:35 +00:00
gdiimage.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
genrcdefs.h Fix gcc architecture checks added to wx/msw/genrcdefs.h. 2013-10-17 22:26:47 +00:00
glcanvas.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
hand.cur
headerctrl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
helpbest.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
helpchm.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
helpwin.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
htmlhelp.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
hyperlink.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
ia64.manifest
icon.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
imaglist.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
iniconf.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
init.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
joystick.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
libraries.h Remove obsolete MSVC version tests. 2014-05-16 13:01:29 +00:00
listbox.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
listctrl.h remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 2014-01-04 20:07:33 +00:00
magnif1.cur
mdi.h Don't show the MDI children implicitly by default in wxMSW any more. 2014-02-20 00:32:54 +00:00
mdi.ico
menu.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
menuitem.h Fix changing the label of a submenu in wxMSW. 2014-06-09 20:33:17 +00:00
metafile.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
microwin.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
mimetype.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
minifram.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
missing.h Remove obsolete MSVC version tests. 2014-05-16 13:01:29 +00:00
msgdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
msvcrt.h Remove obsolete MSVC version tests. 2014-05-16 13:01:29 +00:00
nonownedwnd.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
notebook.h Revert "Hack wxMSW wxNotebook to show the text controls correctly initially." 2014-01-04 21:58:59 +00:00
notifmsg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
ownerdrawnbutton.h Do not export template wxMSWOwnerDrawnButton class from the DLL. 2014-05-10 16:15:57 +00:00
ownerdrw.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
palette.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
panel.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
pbrush.cur
pen.h Just deprecate but don't schedule for removal wxNORMAL and friends. 2014-01-06 12:42:37 +00:00
pencil.cur
pntleft.cur
pntright.cur
popupwin.h Fix getting position of wxPopupWindow in wxMSW. 2014-06-09 20:33:11 +00:00
printdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
printwin.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
private.h Under certain conditions, selecting a menu item triggers an assert in toplevel.cpp:1539: 2014-06-15 22:17:39 +00:00
progdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
question.ico
radiobox.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
radiobut.h Do export wxMSWOwnerDrawnButton from DLL in wxMSW. 2014-05-08 14:43:32 +00:00
rcdefs.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
regconf.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
region.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
registry.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
removble.ico
richmsgdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
roller.cur
scrolbar.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
seh.h Remove obsolete MSVC version tests. 2014-05-16 13:01:29 +00:00
setup0.h Remove support for Digital Mars compiler. 2014-05-16 13:01:23 +00:00
setup_inc.h Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
slider.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sound.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
spinbutt.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
spinctrl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
stackwalk.h Revert "Make wxMSW stack walking methods work with Unicode identifiers." 2013-09-15 11:57:23 +00:00
statbmp.h Fix showing of 32bpp bitmaps without alpha in wxMSW wxStaticBitmap. 2014-03-14 19:22:31 +00:00
statbox.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
statline.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
stattext.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
statusbar.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
std.ico
stdpaths.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
subwin.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
taskbar.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
textctrl.h Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
textentry.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
tglbtn.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
timectrl.h Fix wxMSW build when wxUSE_INTL==0. 2013-10-25 12:17:28 +00:00
tls.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
toolbar.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
tooltip.h Hide tooltip when its associated window is hidden in wxMSW. 2014-06-02 01:15:39 +00:00
toplevel.h Handle WM_*MENU* events in wxWindow. 2014-06-18 12:51:39 +00:00
treectrl.h remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 2014-01-04 20:07:33 +00:00
uxtheme.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
uxthemep.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
webview_ie.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
webview_missing.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
webviewhistoryitem_ie.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
window.h Handle WM_*MENU* events in wxWindow. 2014-06-18 12:51:39 +00:00
winundef.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wrapcctl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wrapcdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wrapgdip.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wrapshl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wrapwin.h Remove support for Win9x from wxMSW. 2014-05-16 02:33:40 +00:00
wx.manifest
wx.rc Document restrictions on icon names in the resources in wxMSW. 2014-05-04 22:12:36 +00:00