]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
Remove always moving window to the top of the Z-order on on Show
[wxWidgets.git] / src / common / valtext.cpp
index 86211d84348ee9359e9680f674f7e522f32fcbbf..096039782362043d86a9daeeff7d41c73acd6064 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "valtext.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -221,8 +217,12 @@ inline void wxCopyStringListToArrayString(wxArrayString& to, const wxStringList&
 {
     to.Clear();
 
-    for(wxStringList::Node* pNode = from.GetFirst(); pNode; pNode = pNode->GetNext())
+    for ( wxStringList::compatibility_iterator pNode = from.GetFirst();
+          pNode;
+          pNode = pNode->GetNext() )
+    {
         to.Add(pNode->GetData());
+    }
 }
 
 inline void wxCopyArrayStringToStringList(wxStringList& to, const wxArrayString& from)