X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09b67c660cadef225cbf8f1986cfe591f8feae8c..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/os2/brush.h 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 //