From e0f4c2c88b809fba4ea419ae9b8cfaf6b4bb9d89 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 30 Apr 2003 08:41:31 +0000 Subject: [PATCH] Use the context help XPM for MSW too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/cshelp.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 { -- 2.45.2