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
This commit is contained in:
@@ -248,7 +248,6 @@ bool wxContextHelp::DispatchEvent(wxWindow* win, const wxPoint& pt)
|
|||||||
* to put the application into context help mode.
|
* to put the application into context help mode.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__WXMSW__)
|
|
||||||
static const char * csquery_xpm[] = {
|
static const char * csquery_xpm[] = {
|
||||||
"12 11 2 1",
|
"12 11 2 1",
|
||||||
" c None",
|
" c None",
|
||||||
@@ -264,7 +263,6 @@ static const char * csquery_xpm[] = {
|
|||||||
" .. ",
|
" .. ",
|
||||||
" .. ",
|
" .. ",
|
||||||
" "};
|
" "};
|
||||||
#endif
|
|
||||||
|
|
||||||
IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton)
|
IMPLEMENT_CLASS(wxContextHelpButton, wxBitmapButton)
|
||||||
|
|
||||||
@@ -283,7 +281,7 @@ wxContextHelpButton::wxContextHelpButton(wxWindow* parent,
|
|||||||
),
|
),
|
||||||
pos, size, style)
|
pos, size, style)
|
||||||
#else
|
#else
|
||||||
: wxBitmapButton(parent, id, wxBITMAP(csquery),
|
: wxBitmapButton(parent, id, wxBitmap(csquery_xpm),
|
||||||
pos, size, style)
|
pos, size, style)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user