git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2462
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
panel, // parent
Control_Listbox, // control id
wxPoint(10, 10), // listbox poistion
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
);
WXSIZEOF(aszChoices), // number of strings
astrChoices // array of strings
);
text->WriteText("OnActivated\n");
}
text->WriteText("OnActivated\n");
}
-void MyListCtrl::OnListKeyDown(wxListEvent& WXUNUSED(event))
+void MyListCtrl::OnListKeyDown(wxListEvent& event)
{
if ( !wxGetApp().GetTopWindow() )
return;
{
if ( !wxGetApp().GetTopWindow() )
return;