/////////////////////////////////////////////////////////////////////////////
// Name: wx/palmos/brush.h
// Purpose: wxBrush class
-// Author: William Osborne
+// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// wxBrush
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxBrush : public wxGDIObject
+class WXDLLEXPORT wxBrush : public wxBrushBase
{
public:
wxBrush();
bool operator!=(const wxBrush& brush) const { return !(*this == brush); }
wxColour GetColour() const;
- int GetStyle() const;
+ virtual int GetStyle() const;
wxBitmap *GetStipple() const;
- bool IsHatch() const
- { return (GetStyle()>=wxBDIAGONAL_HATCH) && (GetStyle()<=wxVERTICAL_HATCH); }
-
bool Ok() const { return m_refData != NULL; }
// return the HBRUSH for this brush