Implement DoGetSizeFromTextSize() for wxMSW wx{Choice,Combobox,TextCtrl}.

Refactor and improve the existing DoGetBestSize() implementations to use
DoGetBestSize().

Closes #14816.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-14 13:47:59 +00:00
parent df74e2d251
commit aa24f946c6
7 changed files with 88 additions and 16 deletions

View File

@@ -172,7 +172,7 @@ public:
@endcode
Currently this method is only implemented for wxTextCtrl, wxComboBox
and wxChoice in wxGTK.
and wxChoice in wxMSW and wxGTK.
@param xlen The horizontal extent of the area to leave for text, in
pixels.