]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
wxTheApp can't be assigned to, anyhow, so make ms_appInstance private and provide...
[wxWidgets.git] / src / common / filefn.cpp
index 3ccac13183f3116f5c8a6d57d8161943a225b963..6978a4a25cc3ad5a8b94466aa4c7dc90536d8d60 100644 (file)
 #endif
 
 #ifdef __WINDOWS__
-    #include <windows.h>
+    #include "wx/msw/wrapwin.h"
     #include "wx/msw/mslu.h"
 
     // for _getcwd
@@ -255,7 +255,7 @@ static inline wxChar* MYcopystring(const wxChar* s)
 
 void wxPathList::Add (const wxString& path)
 {
-    wxStringList::Append (WXSTRINGCAST path);
+    wxStringList::Add (WXSTRINGCAST path);
 }
 
 // Add paths e.g. from the PATH environment variable