Add wxControl::GetSizeFromTextSize() to size the control to its text.
This function can be used to size a, say, wxTextCtrl to be exactly of the size needed to enter the given amount of text in it. This patch adds wxGTK implementation for wxTextCtrl, wxChoice and wxCombobox; changes to the samples and the documentation. Closes #14812. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -582,6 +582,7 @@ All (GUI):
|
||||
- Implement clipping for wxSVGFileDC (Steve Benbow).
|
||||
- Added wxDirCtrl::GetPath() (troelsk).
|
||||
- Added wxEVT_COMMAND_DIRCTRL_CHANGED event (troelsk).
|
||||
- Added wxControl::GetSizeFromTextSize() (Manuel Martin).
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
Reference in New Issue
Block a user