X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/os2/pen.h?ds=sidebyside diff --git a/include/wx/os2/pen.h b/include/wx/os2/pen.h index dfcdb9f12f..5907125fc8 100644 --- a/include/wx/os2/pen.h +++ b/include/wx/os2/pen.h @@ -58,7 +58,7 @@ public: void SetCap(wxPenCap nCap); void SetPS(HPS hPS); - wxColour& GetColour(void) const; + wxColour GetColour(void) const; int GetWidth(void) const; wxPenStyle GetStyle(void) const; wxPenJoin GetJoin(void) const; @@ -69,6 +69,11 @@ public: int GetDashCount() const; wxBitmap* GetStipple(void) const; +#if FUTURE_WXWIN_COMPATIBILITY_3_0 + wxDEPRECATED_FUTURE( void SetStyle(int style) ) + { SetStyle((wxPenStyle)style); } +#endif + // // Implementation //