]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/config.cpp
configure didn't define __WXDEBUG__, fixed
[wxWidgets.git] / src / common / config.cpp
index 014c2ab297182c16d64d514a787f9511e9ad83ed..664f34574c3d2b11cc50a1a46433b36352b96f5d 100644 (file)
@@ -7,7 +7,7 @@
 // RCS-ID:      $Id$
 // Copyright:   (c) 1997 Karsten Ballüder   Ballueder@usa.net
 //                       Vadim Zeitlin      <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ----------------------------------------------------------------------------
@@ -409,7 +409,7 @@ void wxSplitPath(wxArrayString& aParts, const wxChar *sz)
         if ( aParts.IsEmpty() )
           wxLogWarning(_("'%s' has extra '..', ignored."), sz);
         else
-          aParts.Remove(aParts.Count() - 1);
+          aParts.RemoveAt(aParts.Count() - 1);
 
         strCurrent.Empty();
       }