// Pen
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxPen : public wxPenBase
+class WXDLLIMPEXP_CORE wxPen : public wxPenBase
{
public:
wxPen() { }
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;
int GetDashCount() const;
wxBitmap* GetStipple(void) const;
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+ wxDEPRECATED_FUTURE( void SetStyle(int style) )
+ { SetStyle((wxPenStyle)style); }
+#endif
+
//
// Implementation
//