]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sysopt.cpp
Include compilation of tests for OpenVMS (part2)
[wxWidgets.git] / src / common / sysopt.cpp
index c9834763beb14c24f21a4921c8dff9773aead9f9..2f611918dd8e68a8dde26bf596c4f1ddc9706bd4 100644 (file)
@@ -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 )