Compilation fix after ownerdraw-refactor branch merge.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Jan 2010 14:15:12 +0000 (14:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Jan 2010 14:15:12 +0000 (14:15 +0000)
commitb8190883d0ecb3dc5ccdb1b0142c2fe079a7e79a
treef29ab3175294a3dedd2872641f125b9c955dbc9a
parent5c3c1372775ad7fd04448fb033ba1224780f6b65
Compilation fix after ownerdraw-refactor branch merge.

Don't use HDC in public headers, it may not be declared there. Use WXHDC
instead even if this means having ugly casts.

This fixed mingw32 compilation (see #11595).

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