Move wxMSW wxMenu::GetWindow() down to wxMenuBase.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Apr 2010 15:07:39 +0000 (15:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Apr 2010 15:07:39 +0000 (15:07 +0000)
commit7118e711dcf3bdb543d5e20cac2c45d50c691979
tree37b8f625761abceca28aa70893234048ade5aa0f
parent3ded4b22fe0fa21b6bada0beede43cb4d06b233f
Move wxMSW wxMenu::GetWindow() down to wxMenuBase.

GetInvokingWindow() can only be used for the popup menus which have the
invoking window, so add a new function which can be used to get the window
associated with any kind of menu in all ports -- it already existed in wxMSW
but is needed elsewhere too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/menu.h
include/wx/msw/menu.h
src/common/menucmn.cpp
src/msw/menu.cpp