X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/078cf5cb756c4f4113d7acf04ebd6a2535ef75b3..a84d5f9da10b3bed2a1421dd8db0e3fdc0d35daa:/include/wx/msw/pen.h?ds=sidebyside diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index a81ee0a9e6..56560d3834 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/pen.h +// Name: wx/msw/pen.h // Purpose: wxPen class // Author: Julian Smart // Modified by: Vadim Zeitlin: fixed operator=(), ==(), !=() @@ -12,10 +12,6 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "pen.h" -#endif - #include "wx/gdiobj.h" #include "wx/bitmap.h" #include "wx/colour.h" @@ -81,7 +77,7 @@ public: wxPen(); wxPen(const wxColour& col, int width = 1, int style = wxSOLID); wxPen(const wxBitmap& stipple, int width); - wxPen(const wxPen& pen) { Ref(pen); } + wxPen(const wxPen& pen) : wxGDIObject(pen) { Ref(pen); } virtual ~wxPen(); wxPen& operator=(const wxPen& pen) @@ -142,4 +138,3 @@ private: }; #endif // _WX_PEN_H_ -