From 183bce718a30ab60beab76ebc89bcf9a974901d7 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 18 Sep 2009 04:18:38 +0000 Subject: [PATCH] wxUNICODE fixes --- direct/src/plugin/p3dCert.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/plugin/p3dCert.cxx b/direct/src/plugin/p3dCert.cxx index aed7c8f40a..782d772ee1 100644 --- a/direct/src/plugin/p3dCert.cxx +++ b/direct/src/plugin/p3dCert.cxx @@ -367,8 +367,8 @@ verify_cert() { // Find the ca-bundle.crt. char *p3dcert_root = getenv("P3DCERT_ROOT"); if (p3dcert_root != NULL) { - wxString ca_filename = p3dcert_root; - ca_filename += "/ca-bundle.crt"; + wxString ca_filename(p3dcert_root, wxConvUTF8); + ca_filename += wxT("/ca-bundle.crt"); // Read the trusted certificates. cerr << "Reading " << ca_filename.mb_str() << "\n";;