X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/489bf4ae935a8cae19273ae1af22565fe7d94b61..29efc6e4a478652d6f59fb3f5ca7990d78a8ead4:/src/unix/dialup.cpp diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 79b35d5370..5de4670063 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -26,7 +26,7 @@ #include "wx/timer.h" #endif // !PCH -#include "wx/filefn.h" +#include "wx/filename.h" #include "wx/ffile.h" #include "wx/process.h" #include "wx/crt.h" @@ -673,7 +673,7 @@ wxDialUpManagerImpl::CheckIfconfig() wxASSERT_MSG( m_IfconfigPath.length(), _T("can't use ifconfig if it wasn't found") ); - wxString tmpfile = wxGetTempFileName( wxT("_wxdialuptest") ); + wxString tmpfile = wxFileName::CreateTempFileName( wxT("_wxdialuptest") ); wxString cmd = wxT("/bin/sh -c \'"); cmd << m_IfconfigPath; #if defined(__AIX__) || \