From a48b2ed6923ed3fc7892adfef46dee38d4c8917e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 3 Jun 2004 09:41:14 +0000 Subject: [PATCH] Initialise hash table with string key git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxchar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.0