]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/list.cpp
moved wxDash typedef to gdicmn.h
[wxWidgets.git] / src / common / list.cpp
index b56beb3dec4353f54f3438e49816f5fd27462227..971dca379cea29f4e564030143b1aef37274e66a 100644 (file)
@@ -578,6 +578,7 @@ void wxStringList::DoCopy(const wxStringList& other)
 // Makes new storage for the strings
 wxStringList::wxStringList (const wxChar *first, ...)
 {
+  DeleteContents(TRUE);
   if ( !first )
     return;