diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index dfc27c262a..48af69d393 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -147,7 +147,7 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame, panel, // parent Control_Listbox, // control id wxPoint(10, 10), // listbox poistion - wxSize(400, 200), // listbox size + wxSize(400, 100), // listbox size WXSIZEOF(aszChoices), // number of strings astrChoices // array of strings ); diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index d5578d2bee..4d1ffa42c8 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -462,7 +462,7 @@ void MyListCtrl::OnActivated(wxListEvent& WXUNUSED(event)) text->WriteText("OnActivated\n"); } -void MyListCtrl::OnListKeyDown(wxListEvent& WXUNUSED(event)) +void MyListCtrl::OnListKeyDown(wxListEvent& event) { if ( !wxGetApp().GetTopWindow() ) return;