X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..adac097759c089b3d47f48c7756ace4f0b8df879:/src/generic/helpwxht.cpp diff --git a/src/generic/helpwxht.cpp b/src/generic/helpwxht.cpp index 9218355067..7b3a9c9d70 100644 --- a/src/generic/helpwxht.cpp +++ b/src/generic/helpwxht.cpp @@ -19,7 +19,7 @@ # pragma hdrstop #endif -#if wxUSE_HTML && wxUSE_STREAMS +#if wxUSE_WXHTML_HELP #ifndef WX_PRECOMP #include "wx/string.h" @@ -131,7 +131,7 @@ wxHelpFrame::OnButton(wxCommandEvent &ev) else if(id == m_IdSearch) { wxString str = m_combo->GetValue(); - if(m_combo->FindString(str) == -1 && m_combo->Number() < MAX_COMBO_ENTRIES) + if(m_combo->FindString(str) == -1 && m_combo->GetCount() < MAX_COMBO_ENTRIES) m_combo->Append(str); m_controller->KeywordSearch(str); } @@ -315,4 +315,5 @@ wxHelpControllerHtml::GetFrameParameters(wxSize *size, return m_Frame; } -#endif // wxUSE_HTML +#endif // wxUSE_WXHTML_HELP +