- 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(), (const wxChar*) str, HH_KEYWORD_LOOKUP, (DWORD)& link);
- return TRUE;
+ link.cbStruct = sizeof(HH_AKLINK);
+ link.fReserved = FALSE;
+ link.pszKeywords = k.wx_str();
+ link.pszUrl = NULL;
+ link.pszMsgText = NULL;
+ link.pszMsgTitle = NULL;
+ link.pszWindow = NULL;
+ link.fIndexOnFail = TRUE;
+
+ return CallHtmlHelp(HH_KEYWORD_LOOKUP, &link);