Added #define wxHelpController to help.h; added wxWinHelpController::Quit code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@97 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -131,7 +131,13 @@ bool wxWinHelpController::KeywordSearch(const wxString& k)
|
||||
// Can't close the help window explicitly in WinHelp
|
||||
bool wxWinHelpController::Quit(void)
|
||||
{
|
||||
return TRUE;
|
||||
if (wxTheApp->GetTopWindow())
|
||||
{
|
||||
WinHelp((HWND) wxTheApp->GetTopWindow()->GetHWND(), 0, HELP_QUIT, 0L);
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Don't get notified of WinHelp quitting
|
||||
|
Reference in New Issue
Block a user