]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/list.cpp
sockets work now an all platforms
[wxWidgets.git] / src / common / list.cpp
index a98385159dc3b7d2f80fea8b1729654e1422abac..f15ace4deff2be38dac5c573d02ea0a8adecf295 100644 (file)
@@ -145,7 +145,7 @@ int wxNodeBase::IndexOf() const
 // wxListBase
 // -----------------------------------------------------------------------------
 
-void wxListBase::Init(wxKeyType keyType = wxKEY_NONE)
+void wxListBase::Init(wxKeyType keyType)
 {
   m_nodeFirst =
   m_nodeLast = (wxNodeBase *) NULL;
@@ -620,9 +620,10 @@ void wxStringList::Sort()
 {
     size_t N = GetCount();
     char **array = new char *[N];
+    wxStringListNode *node;
 
     size_t i = 0;
-    for ( wxStringListNode *node = GetFirst(); node; node = node->GetNext() )
+    for ( node = GetFirst(); node; node = node->GetNext() )
     {
         array[i++] = node->GetData();
     }