Remove vertical wxTextCtrl adjustment hacks for wxMSW in wxComboCtrl code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 14:05:11 +0000 (14:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 14:05:11 +0000 (14:05 +0000)
commit30e92ba333f0aa8b7d7f1c004ea20e4dab5c1f7a
tree9d26bb12a282a00934192ebee20c716cc02229af
parent9e0cad5d38915cdfc04aba73ca5c85cdaf2ccf3d
Remove vertical wxTextCtrl adjustment hacks for wxMSW in wxComboCtrl code.

Because wxTextCtrl used to wrongly report its best size in wxNO_BORDER case
under MSW, wxComboCtrl manually adjusted its position to work around this.
However since r69066 wxTextCtrl::GetBestSize() was fixed and now these
adjustments resulted in wrong vertical position for the control.

Just remove all manual adjustments completely now to fix this.

Closes #13722.

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