]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/brush.cpp
Renamed wxDataViewCell to wxDataViewRenderer since the
[wxWidgets.git] / src / mgl / brush.cpp
index 7a26b387a5a71566044fdafa8ea7eb7342c9e359..cf45da2f9a81cceafea69327a9336785cd905e9d 100644 (file)
@@ -50,7 +50,7 @@ void wxBitmapToPixPattern(const wxBitmap& bitmap,
 
     if ( mask && bitmap.GetMask() )
     {
-        mem.SelectObject(*bitmap.GetMask()->GetBitmap());
+        mem.SelectObject(bitmap.GetMask()->GetBitmap());
         dc = mem.GetMGLDC();
         wxCurrentDCSwitcher curDC(dc);
         dc->beginPixel();
@@ -143,18 +143,6 @@ wxBrush::wxBrush(const wxBitmap &stippleBitmap)
         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;