From f97ef56b88a334eeb602fa1549af72ebea119130 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 9 May 2003 10:00:38 +0000 Subject: [PATCH] Use context sensitive help XPM for Windows too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20561 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 75749750c9..5a9ac60b12 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -246,7 +246,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", @@ -262,7 +261,6 @@ static const char * csquery_xpm[] = { " .. ", " .. ", " "}; -#endif IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton) @@ -281,7 +279,7 @@ wxContextHelpButton::wxContextHelpButton(wxWindow* parent, ), pos, size, style) #else - : wxBitmapButton(parent, id, wxBITMAP(csquery), + : wxBitmapButton(parent, id, wxBitmap(csquery_xpm), pos, size, style) #endif {