wxWinHelpController::wxWinHelpController()
{
- m_helpFile = "";
+ m_helpFile = wxEmptyString;
}
wxWinHelpController::~wxWinHelpController()
wxString str = m_helpFile;
size_t len = str.Length();
- if (!(str[(size_t)(len-1)] == 'p' && str[(size_t)(len-2)] == 'l' && str[(size_t)(len-3)] == 'h' && str[(size_t)(len-4)] == '.'))
+ if (!(str[(size_t)(len-1)] == wxT('p') && str[(size_t)(len-2)] == wxT('l') && str[(size_t)(len-3)] == wxT('h') && str[(size_t)(len-4)] == wxT('.')))
str += wxT(".hlp");
if (wxTheApp->GetTopWindow())
bool wxWinHelpController::KeywordSearch(const wxString& k,
wxHelpSearchMode WXUNUSED(mode))
{
- if (m_helpFile == "") return FALSE;
+ if (m_helpFile == wxEmptyString) return FALSE;
wxString str = m_helpFile;
size_t len = str.Length();