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:
@@ -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
|
||||
|
Reference in New Issue
Block a user