]> git.saurik.com Git - wxWidgets.git/commitdiff
oops, forgot to remove temporary debug printf...
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 May 2001 22:22:47 +0000 (22:22 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 6 May 2001 22:22:47 +0000 (22:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/gizmos/editlbox.cpp

index 28a43fa5d1b27269eebe417cbab0bcf9aba48536..52a53a9fb08256b8a50141501c7bf55b3527098a 100644 (file)
@@ -105,8 +105,9 @@ END_EVENT_TABLE()
 
 wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id,
                           const wxString& label,
-                          const wxPoint& pos, const wxSize& size)
-   : wxPanel(parent, id, pos, size), m_edittingNew(FALSE)
+                          const wxPoint& pos, const wxSize& size,
+                          const wxString& name)
+   : wxPanel(parent, id, pos, size, wxTAB_TRAVERSAL, name), m_edittingNew(FALSE)
 {
     wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
     
@@ -186,10 +187,7 @@ void wxEditableListBox::OnEndLabelEdit(wxListEvent& event)
     {
         m_edittingNew = FALSE;
         if (!event.GetText().IsEmpty())
-        {
-            printf("X-\n");
             m_listCtrl->InsertItem(m_listCtrl->GetItemCount(), _T(""));
-        }
     }
 }