fixed compilation after wxTipWindow base class change, added wxUSE_TIPWINDOW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-01 03:18:24 +00:00
parent 83a2e3c5ad
commit f38bcae5bf
6 changed files with 42 additions and 6 deletions

View File

@@ -305,6 +305,7 @@ void wxSimpleHelpProvider::AddHelp(wxWindowID id, const wxString& text)
bool wxSimpleHelpProvider::ShowHelp(wxWindowBase *window)
{
#if wxUSE_TIPWINDOW
static wxTipWindow* s_tipWindow = NULL;
if (s_tipWindow)
@@ -323,6 +324,7 @@ bool wxSimpleHelpProvider::ShowHelp(wxWindowBase *window)
return TRUE;
}
#endif // wxUSE_TIPWINDOW
return FALSE;
}