#include "wx/bitmap.h"
// Brush
-class WXDLLEXPORT wxBrush: public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush: public wxBrushBase
{
public:
wxBrush();
virtual void SetStipple(const wxBitmap& rStipple);
wxColour GetColour(void) const;
- virtual wxBrushStyle GetStyle(void) const;
+ wxBrushStyle GetStyle(void) const;
wxBitmap* GetStipple(void) const;
int GetPS(void) const;
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+ wxDEPRECATED_FUTURE( void SetStyle(int style) )
+ { SetStyle((wxBrushStyle)style); }
+#endif
+
//
// Implementation
//