]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/choice.cpp
Refactor and simplify wxChoice::DoGetBestSize().
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Nov 2012 17:15:28 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Nov 2012 17:15:28 +0000 (17:15 +0000)
commit7eb0acefc26f0e728411739b66672e6fd090463e
tree2a63b1fb3c9938f0cb50e146da53a5a8d1738166
parentc236dbaed22ffbd88570b66931a5690dc87c0f3a
Refactor and simplify wxChoice::DoGetBestSize().

Use wxTextMeasure instead of duplicating its code and also reuse the code
between different ports.

Closes #14706.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/choice.h
src/common/choiccmn.cpp
src/gtk/choice.cpp
src/msw/choice.cpp
src/osx/choice_osx.cpp