X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65aeb571355c15d7ec213f2c64995d0fd1741af1..69120ee48a66faa743b6e7c85a745806f53228ac:/src/common/cshelp.cpp diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index a532528bb1..31af18593e 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -352,7 +352,7 @@ void wxSimpleHelpProvider::AddHelp(wxWindowBase *window, const wxString& text) void wxSimpleHelpProvider::AddHelp(wxWindowID id, const wxString& text) { - wxLongToStringHashMap::const_key_type key = (wxLongToStringHashMap::const_key_type)id; + wxLongToStringHashMap::key_type key = (wxLongToStringHashMap::key_type)id; m_hashIds.erase(key); m_hashIds[key] = text; } @@ -384,6 +384,8 @@ bool wxSimpleHelpProvider::ShowHelp(wxWindowBase *window) return true; } +#else + wxUnusedVar(window); #endif // wxUSE_TIPWINDOW return false;