]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
Enable gnomeprint support for the .debs
[wxWidgets.git] / src / msw / listctrl.cpp
index cef12e2f49ef5bbdd6387022074bcabb03dcd795..49c6d04c040586e1c6ad599d984520ad268da589 100644 (file)
@@ -350,7 +350,7 @@ bool wxListCtrl::Create(wxWindow *parent,
     if ( !CreateControl(parent, id, pos, size, style, validator, name) )
         return false;
 
-    if ( !MSWCreateControl(WC_LISTVIEW, _T(""), pos, size) )
+    if ( !MSWCreateControl(WC_LISTVIEW, wxEmptyString, pos, size) )
         return false;
 
     // explicitly say that we want to use Unicode because otherwise we get ANSI
@@ -1265,7 +1265,6 @@ bool wxListCtrl::DeleteItem(long item)
 // Deletes all items
 bool wxListCtrl::DeleteAllItems()
 {
-    m_count=0;
     return ListView_DeleteAllItems(GetHwnd()) != 0;
 }