X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65aeb571355c15d7ec213f2c64995d0fd1741af1..ddc5c471d4d8d185e9f2bb9c91c92ddd3a2afff8:/src/common/cshelp.cpp diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index a532528bb1..b8d7e4b7b2 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -254,6 +254,8 @@ bool wxContextHelp::DispatchEvent(wxWindow* win, const wxPoint& pt) * to put the application into context help mode. */ +#ifndef __WXPM__ + static const char * csquery_xpm[] = { "12 11 2 1", " c None", @@ -270,6 +272,8 @@ static const char * csquery_xpm[] = { " .. ", " "}; +#endif + IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton) BEGIN_EVENT_TABLE(wxContextHelpButton, wxBitmapButton) @@ -352,7 +356,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; } @@ -384,6 +388,8 @@ bool wxSimpleHelpProvider::ShowHelp(wxWindowBase *window) return true; } +#else + wxUnusedVar(window); #endif // wxUSE_TIPWINDOW return false;