minor changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-05-14 14:44:03 +00:00
parent ed07b20b50
commit 8e1d4f96f5
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame,
panel, // parent panel, // parent
Control_Listbox, // control id Control_Listbox, // control id
wxPoint(10, 10), // listbox poistion wxPoint(10, 10), // listbox poistion
wxSize(400, 200), // listbox size wxSize(400, 100), // listbox size
WXSIZEOF(aszChoices), // number of strings WXSIZEOF(aszChoices), // number of strings
astrChoices // array of strings astrChoices // array of strings
); );

View File

@@ -462,7 +462,7 @@ void MyListCtrl::OnActivated(wxListEvent& WXUNUSED(event))
text->WriteText("OnActivated\n"); text->WriteText("OnActivated\n");
} }
void MyListCtrl::OnListKeyDown(wxListEvent& WXUNUSED(event)) void MyListCtrl::OnListKeyDown(wxListEvent& event)
{ {
if ( !wxGetApp().GetTopWindow() ) if ( !wxGetApp().GetTopWindow() )
return; return;