X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdbce971ecd2a3f39ddcc56c0ef7769663fbdf23..bcbb02480bb50512bf1606d7b5616a9e1935877e:/src/palmos/utils.cpp diff --git a/src/palmos/utils.cpp b/src/palmos/utils.cpp index 81db337f9b..c8d8d84908 100644 --- a/src/palmos/utils.cpp +++ b/src/palmos/utils.cpp @@ -90,7 +90,7 @@ bool wxGetUserName(wxChar *buf, int maxSize) return false; } - wxStrncpy (buf, wxConvertMB2WX(id), maxSize - 1); + wxStrncpy (buf, wxSafeConvertMB2WX(id), maxSize - 1); // free the buffer MemPtrUnlock(id); @@ -127,6 +127,11 @@ bool wxSetEnv(const wxString& var, const wxChar *value) return false; } +bool wxUnsetEnv(const wxString& var) +{ + return false; +} + // ---------------------------------------------------------------------------- // process management // ----------------------------------------------------------------------------