No real changes, just cleanup of wxMSW MenuDrawData.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Oct 2010 23:50:08 +0000 (23:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Oct 2010 23:50:08 +0000 (23:50 +0000)
commitabaa31e7eab9de0b7d8d279602e809ebae7c3cad
tree33dbbfaef22fde5ad184b18308d8899857a03aba
parent7eae80a04b477d1200af666397cd387cf143ac0b
No real changes, just cleanup of wxMSW MenuDrawData.

Derive MenuDrawData::Margins from Windows MARGINS struct to avoid ugly (and
potentially dangerous) reinterpret_cast<>s when using it.

Also add some helper functions to Margins to make using it less painful.

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