]> git.saurik.com Git - wxWidgets.git/commitdiff
minor changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 May 1999 14:44:03 +0000 (14:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 May 1999 14:44:03 +0000 (14:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/checklst/checklst.cpp
samples/listctrl/listtest.cpp

index dfc27c262aa7cee2ef5e6630be4fc8f390798a1d..48af69d3937f16c2bd4ddf4a665af0b5fa61f878 100644 (file)
@@ -147,7 +147,7 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame,
          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
         );
index d5578d2bee412875f946d14636accc8f7da80375..4d1ffa42c8fd882e9d6cc8bce9e4b8c977d7cafc 100644 (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() )
                return;
 {
        if ( !wxGetApp().GetTopWindow() )
                return;