X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/788233da909b0f6bc684a99200c614e3dee2aa20..c580f45efe9406261d537f2dada51650eb054be6:/samples/html/helpview/helpview.cpp diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp index 1b07b46823..d77e758829 100644 --- a/samples/html/helpview/helpview.cpp +++ b/samples/html/helpview/helpview.cpp @@ -66,8 +66,8 @@ bool MyApp::OnInit() wxInitAllImageHandlers(); wxFileSystem::AddHandler(new wxZipFSHandler); - SetVendorName("wxWindows"); - SetAppName("wxHTMLHelp"); + SetVendorName(wxT("wxWindows")); + SetAppName(wxT("wxHTMLHelp")); wxConfig::Get(); // create an instance help = new wxHtmlHelpController; @@ -79,7 +79,7 @@ bool MyApp::OnInit() } for (int i = 1; i < argc; i++) - help -> AddBook(argv[i]); + help->AddBook(wxFileName(argv[i])); #ifdef __WXMOTIF__ delete wxLog::SetActiveTarget(new wxLogGui);