]> git.saurik.com Git - wxWidgets.git/commit - include/wx/combo.h
Implement wxComboCtrl::GetSizeFromTextSize().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Nov 2012 13:48:23 +0000 (13:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Nov 2012 13:48:23 +0000 (13:48 +0000)
commite2ac737fba8f9ea33aa7ed8d0534b72cb64db1d7
tree4a3d0bf1146674fb87829e2b6fb65a58844dafb2
parentaa24f946c6dcef84c4811deccd811781ec72e6db
Implement wxComboCtrl::GetSizeFromTextSize().

Improve calculation of wxComboCtrl best size which doesn't work correctly for
non-default fonts as shown by r72935. It is still not perfect but better now.

Closes #14825.

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