No changes, just use RAII-based classes in MSW owner drawn menu code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Nov 2010 10:57:13 +0000 (10:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Nov 2010 10:57:13 +0000 (10:57 +0000)
commitb146648622edeaf02a040c488766d3690dea74bd
tree20d0a5e0a6036229d89329cf5b17a3ccbd00a281
parent2a9a4f5be93678209fcd6e0c2cc850fe8bc879c7
No changes, just use RAII-based classes in MSW owner drawn menu code.

Add helper HDC{TextCol,BgCol,BgMode}Changer classes which ensure that the
corresponding HDC attribute is reset on scope exit instead of manually calling
the corresponding MSW functions to set and reset it.

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