From: J. Russell Smyth Date: Mon, 22 Mar 1999 04:29:45 +0000 (+0000) Subject: Minor correction to allow "disabled" buttons to work under MSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8496896226d14f8e0adf42f1178be6344215b4fc Minor correction to allow "disabled" buttons to work under MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/framelayout/src/newbmpbtn.cpp b/utils/framelayout/src/newbmpbtn.cpp index 3f2efd9216..997820a60d 100644 --- a/utils/framelayout/src/newbmpbtn.cpp +++ b/utils/framelayout/src/newbmpbtn.cpp @@ -537,7 +537,7 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp, if ( !isEnabled ){ -#ifdef __WXMSW // This is currently MSW specific +#ifdef __WXMSW__ // This is currently MSW specific greay_out_image_on_dc( destDc, destDim.x, destDim.y ); #else wxBrush checkerBrush( wxBitmap( (const char*)_gDisableImage,8,8) );