X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09e02fc7a27f609813bffd2f882400579ade86bc..4e15d1caa03346c126015019c1fdf093033ef40b:/src/msw/helpchm.cpp diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index b41a59626d..2c33e930d9 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -50,7 +50,7 @@ HTMLHELP GetHtmlHelpFunction() if ( !s_htmlHelp ) { - static wxDynamicLibrary s_dllHtmlHelp(_T("HHCTRL.OCX"), wxDL_VERBATIM); + static wxDynamicLibrary s_dllHtmlHelp(wxT("HHCTRL.OCX"), wxDL_VERBATIM); if ( !s_dllHtmlHelp.IsLoaded() ) { @@ -127,7 +127,7 @@ bool wxCHMHelpController::DisplaySection(const wxString& section) if ( section.Find(wxT(".htm")) != wxNOT_FOUND ) { // interpret as a file name - return CallHtmlHelp(HH_DISPLAY_TOPIC, section.wx_str()); + return CallHtmlHelp(HH_DISPLAY_TOPIC, wxMSW_CONV_LPCTSTR(section)); } return KeywordSearch(section); @@ -184,7 +184,7 @@ bool wxCHMHelpController::ShowContextHelpPopup(const wxString& text, const wxPoint& pos, wxWindow *window) { - return DoDisplayTextPopup(text.wx_str(), pos, 0, window); + return DoDisplayTextPopup(text.t_str(), pos, 0, window); } bool wxCHMHelpController::DisplayBlock(long block) @@ -201,7 +201,7 @@ bool wxCHMHelpController::KeywordSearch(const wxString& k, HH_AKLINK link; link.cbStruct = sizeof(HH_AKLINK); link.fReserved = FALSE; - link.pszKeywords = k.wx_str(); + link.pszKeywords = k.t_str(); link.pszUrl = NULL; link.pszMsgText = NULL; link.pszMsgTitle = NULL;