]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
native wxBitmapComboBox implementation for MSW (patch 1941399)
[wxWidgets.git] / src / common / filefn.cpp
index c23f02bf1c0416eeb467db1e4578212ad783ab63..f0bfce34c25dd07167778085d2f564052eb50398 100644 (file)
@@ -1373,7 +1373,12 @@ wxChar *wxGetTempFileName(const wxString& prefix, wxChar *buf)
         return NULL;
 
     if ( buf )
+#ifdef _PACC_VER
+        // work around the PalmOS pacc compiler bug
+        wxStrcpy(buf, filename.data());
+#else
         wxStrcpy(buf, filename);
+#endif
     else
         buf = MYcopystring(filename);