styles for listboxes added for testing purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -407,10 +407,10 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
|||||||
wxPanel *panel = new wxPanel(m_notebook);
|
wxPanel *panel = new wxPanel(m_notebook);
|
||||||
m_listbox = new wxListBox( panel, ID_LISTBOX,
|
m_listbox = new wxListBox( panel, ID_LISTBOX,
|
||||||
wxPoint(10,10), wxSize(120,70),
|
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,
|
m_listboxSorted = new wxListBox( panel, ID_LISTBOX_SORTED,
|
||||||
wxPoint(10,90), wxSize(120,70),
|
wxPoint(10,90), wxSize(120,70),
|
||||||
5, choices, wxLB_SORT );
|
5, choices, wxLB_SORT | wxLB_EXTENDED );
|
||||||
|
|
||||||
SetControlClientData("listbox", m_listbox);
|
SetControlClientData("listbox", m_listbox);
|
||||||
SetControlClientData("listbox", m_listboxSorted);
|
SetControlClientData("listbox", m_listboxSorted);
|
||||||
|
Reference in New Issue
Block a user