- 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 ;
-
- return CallHtmlHelpFunction(GetParentWindow(),
- str.wx_str(), HH_KEYWORD_LOOKUP,
- wxPtrToUInt(&link));
+ 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);