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
This commit is contained in:
Julian Smart
2003-05-09 10:00:38 +00:00
parent db15725500
commit f97ef56b88

View File

@@ -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
{