Don't adjust menu item positions for title for menubar menus in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Feb 2011 16:38:53 +0000 (16:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Feb 2011 16:38:53 +0000 (16:38 +0000)
commit41628a43cbb5e0b2d3e06c7d4aff0dc485503a2a
tree379ec6439c9c1bd5a7beaee94e3cad3b36e9698b
parent0a12e013f55022e684508316ad0079511e3b4fe7
Don't adjust menu item positions for title for menubar menus in wxMSW.

The code in wxMSW menu code which accounted for the extra items used to show
popup menu title has become incorrect since the changes of r66178 as now the
non-popup menus have titles as well.

Correct the check to only do the adjustment for the popup menus.

Closes #12922.

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