]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialise hash table with string key
authorJulian Smart <julian@anthemion.co.uk>
Thu, 3 Jun 2004 09:41:14 +0000 (09:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 3 Jun 2004 09:41:14 +0000 (09:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wxchar.cpp

index 368d4bf9fb3dd4ab59d679c278a8b69e93394125..e3095935c3cd8db8597f7a8b26641387384dc3e0 100644 (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);