From: Vadim Zeitlin Date: Fri, 29 Oct 1999 19:45:19 +0000 (+0000) Subject: styles for listboxes added for testing purposes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5d20e510b1896e1c1dea7d6215d0c6c5d4dd47be styles for listboxes added for testing purposes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 4b6f62cee1..bdcad24a1c 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -407,10 +407,10 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) wxPanel *panel = new wxPanel(m_notebook); m_listbox = new wxListBox( panel, ID_LISTBOX, wxPoint(10,10), wxSize(120,70), - 5, choices, wxLB_ALWAYS_SB ); + 5, choices, wxLB_ALWAYS_SB | wxLB_MULTIPLE ); m_listboxSorted = new wxListBox( panel, ID_LISTBOX_SORTED, wxPoint(10,90), wxSize(120,70), - 5, choices, wxLB_SORT ); + 5, choices, wxLB_SORT | wxLB_EXTENDED ); SetControlClientData("listbox", m_listbox); SetControlClientData("listbox", m_listboxSorted);