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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user