Use wxComboCtrl::SetTextCtrlStyle() in the combo sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -753,6 +753,11 @@ MyFrame::MyFrame(const wxString& title)
|
||||
|
||||
rowSizer = new wxBoxSizer( wxHORIZONTAL );
|
||||
cc = new wxComboCtrlWithCustomPopupAnim();
|
||||
|
||||
// Let's set a custom style for the contained wxTextCtrl. We need to
|
||||
// use two-step creation for it to work properly.
|
||||
cc->SetTextCtrlStyle(wxTE_RIGHT);
|
||||
|
||||
cc->Create(panel, wxID_ANY, wxEmptyString);
|
||||
|
||||
// Make sure we use popup that allows focusing the listview.
|
||||
|
Reference in New Issue
Block a user