]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.cpp
fix for focus handling in generic wxListCtrl
[wxWidgets.git] / samples / widgets / widgets.cpp
index 8f7a0588341094014b627dce23a7838758773b19..4955226402c22bf8c36b0094ba2f2bdc94c16e24 100644 (file)
@@ -251,6 +251,8 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
                              );
     m_lboxLog = new wxListBox(m_panel, -1);
     sizerDown->Add(m_lboxLog, 1, wxGROW | wxALL, 5);
+    sizerDown->SetMinSize(100, 200);
+
     wxBoxSizer *sizerBtns = new wxBoxSizer(wxHORIZONTAL);
     wxButton *btn = new wxButton(m_panel, Widgets_ClearLog, _T("Clear &log"));
     sizerBtns->Add(btn);