X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1da887276915d7b83dc7beff43bbe0deea35939..759f72726133ce3bdbe1c3a2f444aa816c7f46c9:/src/html/helpctrl.cpp diff --git a/src/html/helpctrl.cpp b/src/html/helpctrl.cpp index 9ac2bce178..bab78b1520 100644 --- a/src/html/helpctrl.cpp +++ b/src/html/helpctrl.cpp @@ -184,7 +184,7 @@ bool wxHtmlHelpController::Initialize(const wxString& file) wxString dir, filename, ext; wxSplitPath(file, & dir, & filename, & ext); - if (!dir.IsEmpty()) + if (!dir.empty()) dir = dir + wxFILE_SEP_PATH; // Try to find a suitable file @@ -239,6 +239,8 @@ bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& return true; } +#else + wxUnusedVar(text); #endif // wxUSE_TIPWINDOW return false;