git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28356
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-#if defined(__WXMICROWIN__) && !defined(__WXWINCE__)
+#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
// Create the brush for disabling bitmap buttons
// Create the brush for disabling bitmap buttons
LOGBRUSH lb;
lb.lbStyle = BS_PATTERN;
lb.lbColor = 0;
lb.lbHatch = (int)LoadBitmap( wxhInstance, wxT("wxDISABLE_BUTTON_BITMAP") );
if ( lb.lbHatch )
{
LOGBRUSH lb;
lb.lbStyle = BS_PATTERN;
lb.lbColor = 0;
lb.lbHatch = (int)LoadBitmap( wxhInstance, wxT("wxDISABLE_BUTTON_BITMAP") );
if ( lb.lbHatch )
{
- wxDisableButtonBrush = ::CreateBrushIndirect( & lb );
+ wxDisableButtonBrush = ::CreateBrushIndirect( &lb );
::DeleteObject( (HGDIOBJ)lb.lbHatch );
}
//else: wxWidgets resources are probably not linked in
::DeleteObject( (HGDIOBJ)lb.lbHatch );
}
//else: wxWidgets resources are probably not linked in
+#endif // !__WXMICROWIN__ && !__WXWINCE__
#if wxUSE_PENWINDOWS
wxRegisterPenWin();
#if wxUSE_PENWINDOWS
wxRegisterPenWin();