X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3688c0d8a39d200f0556ad4b401d89b45ff04a..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/dfb/pen.h diff --git a/include/wx/dfb/pen.h b/include/wx/dfb/pen.h index c9906dc2ae..d81907e08b 100644 --- a/include/wx/dfb/pen.h +++ b/include/wx/dfb/pen.h @@ -3,7 +3,6 @@ // Purpose: wxPen class declaration // Author: Vaclav Slavik // Created: 2006-08-04 -// RCS-ID: $Id$ // Copyright: (c) 2006 REA Elektronik GmbH // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -51,7 +50,7 @@ public: void SetDashes(int number_of_dashes, const wxDash *dash); void SetStipple(const wxBitmap& stipple); - wxColour &GetColour() const; + wxColour GetColour() const; wxPenCap GetCap() const; wxPenJoin GetJoin() const; wxPenStyle GetStyle() const; @@ -61,6 +60,11 @@ public: wxDash* GetDash() const; wxBitmap *GetStipple() const; +#if FUTURE_WXWIN_COMPATIBILITY_3_0 + wxDEPRECATED_FUTURE( void SetStyle(int style) ) + { SetStyle((wxPenStyle)style); } +#endif + protected: virtual wxGDIRefData *CreateGDIRefData() const; virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;