Added wxComboCtrl::SetTextCtrlStyle()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-06-13 09:59:32 +00:00
parent 863d1ce7c2
commit 1ac5cfc7c9
4 changed files with 34 additions and 1 deletions

View File

@@ -734,6 +734,22 @@ public:
*/
void SetText(const wxString& value);
/**
Set a custom window style for the embedded wxTextCtrl. Usually you
will need to use this during two-step creation, just before Create().
For example:
@code
wxComboCtrl* comboCtrl = new wxComboCtrl();
// Let's make the text right-aligned
comboCtrl->SetTextCtrlStyle(wxTE_RIGHT);
comboCtrl->Create(parent, wxID_ANY, wxEmptyString);
@endcode
*/
void SetTextCtrlStyle( int style );
/**
This will set the space in pixels between left edge of the control and
the text, regardless whether control is read-only or not. Value -1 can