* to put the application into context help mode.
*/
+#ifndef __WXPM__
+
static const char * csquery_xpm[] = {
"12 11 2 1",
" c None",
" .. ",
" "};
+#endif
+
IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton)
BEGIN_EVENT_TABLE(wxContextHelpButton, wxBitmapButton)
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;
}
return true;
}
+#else
+ wxUnusedVar(window);
#endif // wxUSE_TIPWINDOW
return false;