]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor correction to allow "disabled" buttons to work under MSW
authorJ. Russell Smyth <drfish@cox.net>
Mon, 22 Mar 1999 04:29:45 +0000 (04:29 +0000)
committerJ. Russell Smyth <drfish@cox.net>
Mon, 22 Mar 1999 04:29:45 +0000 (04:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/framelayout/src/newbmpbtn.cpp

index 3f2efd9216628a5f0fc6737a570185af2181ac11..997820a60d879247f22fe00c26883c9bf4576e29 100644 (file)
@@ -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) );