]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/file.cpp
fix for the initial size of the dialogs
[wxWidgets.git] / src / common / file.cpp
index b662a72b34428070b4c1539b6d3a4f4572f236b6..667b99a32c19d318f63d23ac5294c4b3805a03ac 100644 (file)
@@ -473,7 +473,10 @@ bool wxTempFile::Open(const wxString& strName)
     // OS/2 supports that have them (HPFS, FAT32) and security (HPFS386)
     static const wxChar *szMktempSuffix = wxT("XXX");
     m_strTemp << strName << szMktempSuffix;
+    // Temporarily remove - MN
+    #ifndef __WATCOMC__
     ::DosCreateDir(m_strTemp.GetWriteBuf(MAX_PATH), NULL);
+    #endif
 #else // Windows
     wxString strPath;
     wxSplitPath(strName, &strPath, NULL, NULL);