But I am not able to decrease the with that way.
Just example code
Code: Select all
wxTextCtrl* pCtrl = new wxTextCtrl(this, wxID_ANY);
wxSize size = pCtrl->GetSize();
size.SetWidth(20); // just 20 pixel for example
pCtrl->SetMinSize(size);
I want to modify the width of a wxTextCtrl. How can I do that?