X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1da887276915d7b83dc7beff43bbe0deea35939..5ccb95f690bd7265b1b86718149a79bb97dcf4d8:/src/html/helpctrl.cpp?ds=sidebyside diff --git a/src/html/helpctrl.cpp b/src/html/helpctrl.cpp index 9ac2bce178..5ec371074d 100644 --- a/src/html/helpctrl.cpp +++ b/src/html/helpctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "helpctrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -184,7 +180,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 +235,8 @@ bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& return true; } +#else + wxUnusedVar(text); #endif // wxUSE_TIPWINDOW return false;