if (M_PENDATA->m_style==wxTRANSPARENT)
{
M_PENDATA->m_hPen = (WXHPEN) ::GetStockObject(NULL_PEN);
- return TRUE;
+ return true;
}
COLORREF ms_colour = M_PENDATA->m_colour.GetPixel();
default:
logb.lbStyle = BS_SOLID;
#ifdef __WXDEBUG__
- // this should be unnecessary (it's unused) but suppresses the Purigy
+ // this should be unnecessary (it's unused) but suppresses the Purify
// messages about uninitialized memory read
logb.lbHatch = 0;
#endif
if (M_PENDATA->m_hPen==0)
wxError("Cannot create pen","Internal error") ;
#endif
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}
WXHANDLE wxPen::GetResourceHandle() const
{
DeleteObject((HPEN) M_PENDATA->m_hPen);
M_PENDATA->m_hPen = 0;
- return TRUE;
+ return true;
}
- else return FALSE;
+ else return false;
}
bool wxPen::IsFree() const