if ( mask && bitmap.GetMask() )
{
- mem.SelectObject(*bitmap.GetMask()->GetBitmap());
+ mem.SelectObject(bitmap.GetMask()->GetBitmap());
dc = mem.GetMGLDC();
wxCurrentDCSwitcher curDC(dc);
dc->beginPixel();
M_BRUSHDATA->m_style = wxSTIPPLE;
}
-wxBrush::wxBrush(const wxBrush &brush)
-{
- Ref(brush);
-}
-
-wxBrush& wxBrush::operator = (const wxBrush& brush)
-{
- if (*this == brush) return (*this);
- Ref(brush);
- return *this;
-}
-
bool wxBrush::operator == (const wxBrush& brush) const
{
return m_refData == brush.m_refData;
return m_refData != brush.m_refData;
}
-bool wxBrush::Ok() const
+bool wxBrush::IsOk() const
{
return ((m_refData) && M_BRUSHDATA->m_colour.Ok());
}