X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/275abf24e140159f2ac19b64b76737a6903b1319..9485b24f43766ad97ba1b77a70c7c1f2a40184a6:/src/unix/net.cpp diff --git a/src/unix/net.cpp b/src/unix/net.cpp index 8fff0bfdd1..a87a2e8442 100644 --- a/src/unix/net.cpp +++ b/src/unix/net.cpp @@ -21,7 +21,7 @@ #include "wx/event.h" #include "wx/net.h" #include "wx/timer.h" -#include "wx/filefn.h" +#include "wx/filename.h" #include "wx/utils.h" #include "wx/log.h" #include "wx/file.h" @@ -323,7 +323,7 @@ wxDialUpManagerImpl::CheckStatusInternal(void) { wxASSERT(m_IfconfigPath.length()); - wxString tmpfile = wxGetTempFileName("_wxdialuptest"); + wxString tmpfile = wxFileName::CreateTempFileName("_wxdialuptest"); wxString cmd = "/bin/sh -c \'"; cmd << m_IfconfigPath << " >" << tmpfile << '\''; /* I tried to add an option to wxExecute() to not close stdout,