Initialise hash table with string key

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-06-03 09:41:14 +00:00
parent 6376cdc3a5
commit a48b2ed692

View File

@@ -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);