]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
corrections for buffers
[wxWidgets.git] / src / msw / listctrl.cpp
index 3e9b5966cbb79c2060a07385d00085d5c01966fa..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;
         }
     };