X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc4211aa0c9f15cff97e3d69bfe8aa8eb4ae4633..9c136858af7a37b1ed7d5f036f8d6953f7c8d507:/src/common/cshelp.cpp?ds=sidebyside diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index 4d173898bc..75749750c9 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -336,11 +336,13 @@ wxString wxSimpleHelpProvider::GetHelp(const wxWindowBase *window) void wxSimpleHelpProvider::AddHelp(wxWindowBase *window, const wxString& text) { + m_hashWindows.Delete((long)window); m_hashWindows.Put((long)window, text); } void wxSimpleHelpProvider::AddHelp(wxWindowID id, const wxString& text) { + m_hashIds.Delete((long)id); m_hashIds.Put(id, text); }