-class WXDLLEXPORT wxBrush;
-
-class WXDLLEXPORT wxBrushRefData: public wxGDIRefData
-{
- friend class WXDLLEXPORT wxBrush;
-public:
- wxBrushRefData();
- wxBrushRefData(const wxBrushRefData& rData);
- virtual ~wxBrushRefData();
-
- bool operator == (const wxBrushRefData& data) const
- {
- return (m_nStyle == data.m_nStyle &&
- m_vStipple.IsSameAs(data.m_vStipple) &&
- m_vColour == data.m_vColour);
- }
-
-protected:
- int m_nStyle;
- wxBitmap m_vStipple ;
- wxColour m_vColour;
- WXHBRUSH m_hBrush; // in OS/2 GPI this will be the PS the pen is associated with
- AREABUNDLE m_vBundle;
-};
-
-#define M_BRUSHDATA ((wxBrushRefData *)m_refData)
-