]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cshelp.cpp
Check accelerators before sending EVT_CHAR
[wxWidgets.git] / src / common / cshelp.cpp
index a532528bb113328752cd46e0930ad414d1a78ecc..5d5f7f200f398aea09c541104d2eca86d7ece2e2 100644 (file)
@@ -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;
 }