From 7cbc29972f3c7b5b4ab902db742bc81c3ab6e1ed Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Sep 2000 18:27:43 +0000 Subject: [PATCH] oops, some of my testing code crept in git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/controls/controls.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index f98b5ff359..7854eb8c6c 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -594,10 +594,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), - 2, choices, wxLB_ALWAYS_SB | wxLB_EXTENDED ); + 5, choices); m_listboxSorted = new wxListBox( panel, ID_LISTBOX_SORTED, wxPoint(10,90), wxSize(120,70), - 5, choices, wxLB_SORT | wxLB_MULTIPLE); + 5, choices, wxLB_SORT); SetControlClientData("listbox", m_listbox); SetControlClientData("listbox", m_listboxSorted);