X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/common/sysopt.cpp 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 )