]> git.saurik.com Git - wxWidgets.git/commit
Correct making the newly inserted menu item owner drawn in some cases.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 22:49:28 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Aug 2013 22:49:28 +0000 (22:49 +0000)
commitee3de647ffd5891138864d032bc0f2bd5a130ef0
treea6fcd494f852a9bef4e6a7a1338397e0e7863216
parent6c0d5a69e9ced225343b3d79d4b2892013287c5f
Correct making the newly inserted menu item owner drawn in some cases.

The item being inserted is not inserted yet when we call
SetOwnerDrawnMenuItem() so we must call it separately for it after inserting
it.

Closes #15437.

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