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
This commit is contained in:
@@ -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) );
|
||||
|
Reference in New Issue
Block a user