// Created: 2003/07/03
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BRUSH_H__
// ========================================================================
// wxBrush
// ========================================================================
-class WXDLLEXPORT wxBrush: public wxGDIObject
+class WXDLLEXPORT wxBrush: public wxBrushBase
{
DECLARE_DYNAMIC_CLASS(wxBrush)
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
public:
wxBrush();
- wxBrush(const wxColour& col, int style);
+ wxBrush(const wxColour& col, int style = wxSOLID);
wxBrush(const wxBitmap& stipple);
wxBrush(const wxBrush& brush)
- : wxGDIObject()
+ : wxBrushBase()
{ Ref(brush); }
~wxBrush();
// accessors
wxColour GetColour() const;
- int GetStyle() const;
+ virtual int GetStyle() const;
wxBitmap *GetStipple() const;
virtual bool Ok() const