projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated samples/html/widget to avoid confusion
[wxWidgets.git]
/
src
/
html
/
helpctrl.cpp
diff --git
a/src/html/helpctrl.cpp
b/src/html/helpctrl.cpp
index e513a50f6377ab715d480f71a6d3f0c2facf3a6b..dbbf32c4742c1fa23792f81f34ce71e200a4f86e 100644
(file)
--- a/
src/html/helpctrl.cpp
+++ b/
src/html/helpctrl.cpp
@@
-96,6
+96,8
@@
bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg)
if (show_wait_msg)
delete busy;
#endif
if (show_wait_msg)
delete busy;
#endif
+ if (m_helpFrame)
+ m_helpFrame->RefreshLists();
return retval;
}
return retval;
}
@@
-195,7
+197,7
@@
bool wxHtmlHelpController::DisplaySection(int sectionNo)
bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& WXUNUSED(pos))
{
bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& WXUNUSED(pos))
{
-#if wxUSE_
HELP
+#if wxUSE_
TIPWINDOW
static wxTipWindow* s_tipWindow = NULL;
if (s_tipWindow)
static wxTipWindow* s_tipWindow = NULL;
if (s_tipWindow)
@@
-213,7
+215,8
@@
bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint&
return TRUE;
}
return TRUE;
}
-#endif
+#endif // wxUSE_TIPWINDOW
+
return FALSE;
}
return FALSE;
}