X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09b67c660cadef225cbf8f1986cfe591f8feae8c..b5ec0c78b521cfa0f276e4d5d830f35b4fa26e91:/include/wx/os2/brush.h?ds=inline diff --git a/include/wx/os2/brush.h b/include/wx/os2/brush.h index 14169df062..c13dcf00fb 100644 --- a/include/wx/os2/brush.h +++ b/include/wx/os2/brush.h @@ -15,7 +15,7 @@ #include "wx/bitmap.h" // Brush -class WXDLLEXPORT wxBrush: public wxBrushBase +class WXDLLIMPEXP_CORE wxBrush: public wxBrushBase { public: wxBrush(); @@ -36,10 +36,15 @@ public: 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 //