minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||||
);
|
);
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user