removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -585,7 +585,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
|
||||
}
|
||||
|
||||
#elif defined(__WINDOWS__) && !defined(__WXMICROWIN__)
|
||||
#ifdef __WIN32__
|
||||
|
||||
if ( dir.empty() )
|
||||
{
|
||||
if ( !::GetTempPath(MAX_PATH, wxStringBuffer(dir, MAX_PATH + 1)) )
|
||||
@@ -612,12 +612,6 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
|
||||
|
||||
path.clear();
|
||||
}
|
||||
#else // Win16
|
||||
if ( !::GetTempFileName(NULL, prefix, 0, wxStringBuffer(path, 1025)) )
|
||||
{
|
||||
path.clear();
|
||||
}
|
||||
#endif // Win32/16
|
||||
|
||||
#else // !Windows
|
||||
if ( dir.empty() )
|
||||
|
||||
Reference in New Issue
Block a user