X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65aeb571355c15d7ec213f2c64995d0fd1741af1..ba8546912daa12cea8076e08f1694a03e520dfe2:/src/common/cshelp.cpp diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index a532528bb1..5d5f7f200f 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; }