X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..c2a331e02732bb6a04a42ebf646d54b4373ad122:/src/common/filefn.cpp?ds=sidebyside diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 3ccac13183..4f86e7bd16 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "filefn.h" #endif @@ -128,7 +128,7 @@ #endif #ifdef __WINDOWS__ - #include + #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