]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
README scrolling fix
[wxWidgets.git] / samples / controls / controls.cpp
index 77fefdba72dc82096591a4c58d7f87045eb0d76d..aafd3d3b44f32d9301ddf9c120fc86a4725e8e2c 100644 (file)
@@ -677,7 +677,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
     wxPanel *panel = new wxPanel(m_book);
     m_listbox = new wxListBox( panel, ID_LISTBOX,
                                wxPoint(10,10), wxSize(120,70),
-                               5, choices, wxLB_MULTIPLE /*|wxLB_ALWAYS_SB*/ );
+                               5, choices, wxLB_MULTIPLE |wxLB_ALWAYS_SB );
     m_listboxSorted = new wxListBox( panel, ID_LISTBOX_SORTED,
                                      wxPoint(10,90), wxSize(120,70),
                                      5, choices, wxLB_SORT );