]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
corrections for buffers
[wxWidgets.git] / src / msw / listctrl.cpp
index afee0618c9660bbc0abde6825b32ebb793ab632f..9bb556cf46ddb011e61f8ec94bae59448e96ccb3 100644 (file)
@@ -1565,6 +1565,9 @@ long wxListCtrl::InsertItem(wxListItem& info)
         {
             // take copy of attributes
             data->attr = new wxListItemAttr(*info.GetAttributes());
+
+            // and remember that we have some now...
+            m_hasAnyAttr = TRUE;
         }
     };
 
@@ -2778,20 +2781,5 @@ static void wxConvertToMSWListCol(int WXUNUSED(col), const wxListItem& item,
 #endif // _WIN32_IE >= 0x0300
 }
 
-wxListView::wxListView()
-{
-}
-
-wxListView::wxListView(wxWindow *parent,
-                       wxWindowID winid,
-                       const wxPoint& pos,
-                       const wxSize& size,
-                       long style,
-                       const wxValidator& validator,
-                       const wxString &name)
-{
-    Create(parent, winid, pos, size, style, validator, name);
-}
-
 #endif // wxUSE_LISTCTRL