]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
Refresh() didn't work as it wasn't passed to subwindows
[wxWidgets.git] / src / common / filename.cpp
index 77d2f2fcab436552b418c1f4e383d142e120925a..e53a24eafe35fc42f11e99695ba411d21a1678e6 100644 (file)
@@ -694,7 +694,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
     }
 #else // !HAVE_MKTEMP (includes __DOS__)
     // generate the unique file name ourselves
-    #ifndef __DOS__
+    #if !defined(__DOS__) && (!defined(__MWERKS__) || defined(__DARWIN__) )
     path << (unsigned int)getpid();
     #endif