X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11968fef9c0531e3aa399639db04ff1f7ad80944..5eae641dd681ecc837205ee84560b1cc89baf91f:/src/common/cshelp.cpp?ds=inline diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index 74328e6d49..8071439665 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -248,7 +248,6 @@ bool wxContextHelp::DispatchEvent(wxWindow* win, const wxPoint& pt) * to put the application into context help mode. */ -#if !defined(__WXMSW__) static const char * csquery_xpm[] = { "12 11 2 1", " c None", @@ -264,7 +263,6 @@ static const char * csquery_xpm[] = { " .. ", " .. ", " "}; -#endif IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton) @@ -283,7 +281,7 @@ wxContextHelpButton::wxContextHelpButton(wxWindow* parent, ), pos, size, style) #else - : wxBitmapButton(parent, id, wxBITMAP(csquery), + : wxBitmapButton(parent, id, wxBitmap(csquery_xpm), pos, size, style) #endif {