From: Julian Smart Date: Thu, 3 Jun 2004 09:41:14 +0000 (+0000) Subject: Initialise hash table with string key X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a48b2ed6923ed3fc7892adfef46dee38d4c8917e Initialise hash table with string key git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 368d4bf9fb..e3095935c3 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -1329,7 +1329,7 @@ long WXDLLEXPORT wxAtol(const wxChar *psz) wxChar * WXDLLEXPORT wxGetenv(const wxChar *name) { - static wxHashTable env; + static wxHashTable env(wxKEY_STRING); // check if we already have stored the converted env var wxObject *data = env.Get(name);