X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17a1ebd101f0653e69736416a2a28d0ada423141..78c91815008ef5888231c6c7f3678872e9e35ff6:/src/common/cshelp.cpp diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index 7e4d11a93b..82f3383652 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -27,10 +27,10 @@ #if wxUSE_HELP #ifndef WX_PRECOMP + #include "wx/app.h" #endif #include "wx/tipwin.h" -#include "wx/app.h" #include "wx/module.h" #include "wx/cshelp.h" @@ -334,7 +334,7 @@ wxHelpProvider::~wxHelpProvider() wxString wxSimpleHelpProvider::GetHelp(const wxWindowBase *window) { - wxLongToStringHashMap::iterator it = m_hashWindows.find(WINHASH_KEY(window)); + wxSimpleHelpProviderHashMap::iterator it = m_hashWindows.find(WINHASH_KEY(window)); if ( it == m_hashWindows.end() ) { @@ -354,7 +354,7 @@ void wxSimpleHelpProvider::AddHelp(wxWindowBase *window, const wxString& text) void wxSimpleHelpProvider::AddHelp(wxWindowID id, const wxString& text) { - wxLongToStringHashMap::key_type key = (wxLongToStringHashMap::key_type)id; + wxSimpleHelpProviderHashMap::key_type key = (wxSimpleHelpProviderHashMap::key_type)id; m_hashIds.erase(key); m_hashIds[key] = text; }