]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
Avoid double free in wxComboBox::SetClientObject.
[wxWidgets.git] / include / wx / filefn.h
index b0daaceef509aa7c823e42cb14f1e0a7865c9bc2..e2c028f542cfa6c64878b57dd6df1fcbdfe22018 100644 (file)
@@ -112,7 +112,11 @@ enum wxSeekMode
 #endif
         #define   wxAccess     _access
         #define   wxMkDir      _mkdir
 #endif
         #define   wxAccess     _access
         #define   wxMkDir      _mkdir
+#ifdef __WATCOMC__
+        #define   wxRmDir      rmdir
+#else
         #define   wxRmDir      _rmdir
         #define   wxRmDir      _rmdir
+#endif
         #define   wxStat       _stat
     #endif
 
         #define   wxStat       _stat
     #endif