X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..65776a1582e9ae237fc4b5587fb72582d25c06ac:/src/common/sysopt.cpp diff --git a/src/common/sysopt.cpp b/src/common/sysopt.cpp index c9834763be..2f611918dd 100644 --- a/src/common/sysopt.cpp +++ b/src/common/sysopt.cpp @@ -83,6 +83,7 @@ wxString wxSystemOptions::GetOption(const wxString& name) // 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 )