//// Data
wxContextHelp* m_contextHelp;
+
+ DECLARE_NO_COPY_CLASS(wxContextHelpEvtHandler)
};
// ============================================================================
* to put the application into context help mode.
*/
-#if !defined(__WXMSW__)
static const char * csquery_xpm[] = {
"12 11 2 1",
" c None",
" .. ",
" .. ",
" "};
-#endif
IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton)
),
pos, size, style)
#else
- : wxBitmapButton(parent, id, wxBITMAP(csquery),
+ : wxBitmapButton(parent, id, wxBitmap(csquery_xpm),
pos, size, style)
#endif
{
// Convenience function for turning context id into wxString
wxString wxContextId(int id)
{
- return wxString(IntToString(id));
+ return wxString::Format(_T("%d"), id);
}
// ----------------------------------------------------------------------------