X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/common/sysopt.cpp?ds=inline diff --git a/src/common/sysopt.cpp b/src/common/sysopt.cpp index c9834763be..8b117011d2 100644 --- a/src/common/sysopt.cpp +++ b/src/common/sysopt.cpp @@ -76,13 +76,14 @@ wxString wxSystemOptions::GetOption(const wxString& name) { val = gs_optionValues[idx]; } - else // not set explicitely + else // not set explicitly { // look in the environment: first for a variable named "wx_appname_name" // which can be set to affect the behaviour or just this application // and then for "wx_name" which can be set to change the option globally wxString var(name); var.Replace(wxT("."), wxT("_")); // '.'s not allowed in env var names + var.Replace(wxT("-"), wxT("_")); // and neither are '-'s wxString appname; if ( wxTheApp )