Use wxString::clear() instead of assignment to wxEmptyString

This commit is contained in:
Paul Cornett
2018-05-11 10:52:56 -07:00
parent 7d039a2e0b
commit 98cd5a6b20
18 changed files with 30 additions and 33 deletions

View File

@@ -422,7 +422,7 @@ bool wxExtHelpController::KeywordSearch(const wxString& k,
// choices[idx] = (**i).doc.Contains((**i).doc.Before(WXEXTHELP_COMMENTCHAR));
//if (choices[idx].empty()) // didn't contain the ';'
// choices[idx] = (**i).doc;
choices[idx] = wxEmptyString;
choices[idx].clear();
for (int j=0; ; j++)
{
wxChar targetChar = entry->doc.c_str()[j];