s/wxGetTempFileName/wxFileName::CreateTempFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include "wx/prntbase.h"
|
||||
#include "wx/generic/prntdlgg.h"
|
||||
#include "wx/paper.h"
|
||||
#include "wx/filefn.h"
|
||||
#include "wx/filename.h"
|
||||
#include "wx/stdpaths.h"
|
||||
|
||||
#ifdef __WXMSW__
|
||||
@@ -1708,7 +1708,7 @@ bool wxPostScriptDCImpl::StartDoc( const wxString& WXUNUSED(message) )
|
||||
{
|
||||
if (m_printData.GetFilename() == wxEmptyString)
|
||||
{
|
||||
wxString filename = wxGetTempFileName( wxT("ps") );
|
||||
wxString filename = wxFileName::CreateTempFileName( wxT("ps") );
|
||||
m_printData.SetFilename(filename);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user