]> git.saurik.com Git - wxWidgets.git/commit - src/msw/menu.cpp
Simplify wxMSW wxMenuBar title management.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Nov 2010 01:20:50 +0000 (01:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Nov 2010 01:20:50 +0000 (01:20 +0000)
commit7ee9a64bd6fa6ce20a33ad7acaa8982988d32223
treeee29cf687cda45d688dc9b02dff6c0d69872dcb4
parent5d4510dc48b2dffad281ab0b2ca873b50e2a0d19
Simplify wxMSW wxMenuBar title management.

Store the titles of the menu bar menus in the menu objects themselves. This
makes wxMenu::GetTitle() return the expected result for them (which also fixes
the current unit test failures for wxMSW) and makes wxMenuBar code simpler.

This removes the wxMenuInfo class which existed for XTI purposes only but as
it was apparently unfinished and MSW-specific it shouldn't be a big loss.

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