Fix DrawChoice() behaviour in wxRendererXP.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 May 2012 12:29:46 +0000 (12:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 May 2012 12:29:46 +0000 (12:29 +0000)
commit252255e852c0615ba0e10e648f0dbc458fd3fafd
treef613c7dcda642056635fb78c5b40783af22d1cd6
parentffa7b75018a936c23a7c55c47155929be647a6c9
Fix DrawChoice() behaviour in wxRendererXP.

The implementation of wxRendererXP::DrawChoice() inadvertently used
wxRendererMSW::DrawComboBoxDropButton() and so drew the button in the classic
and not themed style.

Fix this by defining DrawChoice() in the base wxRendererMSWBase class and
reusing it in wxRendererXP via inheritance and not composition.

Closes #14337.

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