- link.cbStruct = sizeof(HH_AKLINK) ;
- link.fReserved = FALSE ;
- link.pszKeywords = k.c_str() ;
- link.pszUrl = NULL ;
- link.pszMsgText = NULL ;
- link.pszMsgTitle = NULL ;
- link.pszWindow = NULL ;
- link.fIndexOnFail = TRUE ;
-
- gs_htmlHelp(GetSuitableHWND(this), (const wxChar*) str, HH_KEYWORD_LOOKUP, (DWORD)& link);
- return true;
+ link.cbStruct = sizeof(HH_AKLINK);
+ link.fReserved = FALSE;
+ link.pszKeywords = k.t_str();
+ link.pszUrl = NULL;
+ link.pszMsgText = NULL;
+ link.pszMsgTitle = NULL;
+ link.pszWindow = NULL;
+ link.fIndexOnFail = TRUE;
+
+ return CallHtmlHelp(HH_KEYWORD_LOOKUP, &link);