]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpwxht.cpp
fixed handling of HTML tables with empty row(s)
[wxWidgets.git] / src / generic / helpwxht.cpp
index 92183550679e5abac3606213aca2a5f0dc314009..bc27fbfe07ecdcabb917f23d0a3a50afbf36f411 100644 (file)
@@ -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);
    }