void wxSimpleHelpProvider::AddHelp(wxWindowID id, const wxString& text)
{
- m_hashIds.erase((long)id);
- m_hashIds[id] = text;
+ wxLongToStringHashMap::key_type key = (wxLongToStringHashMap::key_type)id;
+ m_hashIds.erase(key);
+ m_hashIds[key] = text;
}
// removes the association
return true;
}
+#else
+ wxUnusedVar(window);
#endif // wxUSE_TIPWINDOW
return false;