Add wxUSE_OWNER_DRAW checks to wxMSW wxMenu code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Jan 2012 13:42:02 +0000 (13:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Jan 2012 13:42:02 +0000 (13:42 +0000)
commit51c2f7ea41f0e6a2fadef7e20678452eff36affc
treef4d53ee71274e39bdcdd8a1480c45daa18713bd8
parent29686ebc000a1d95ae56a58b9ff2a5a6f23eed84
Add wxUSE_OWNER_DRAW checks to wxMSW wxMenu code.

Allow compiling with wxUSE_OWNER_DRAW==0. This fixes another problem in
Windows CE build where owner drawn menus are not supported.

Closes #13851.

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