X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..6a5c9b3ff71334ed30bd9ae15425a1ca8ae71174:/include/wx/palmos/pen.h diff --git a/include/wx/palmos/pen.h b/include/wx/palmos/pen.h index 26b86cf569..6c86bb8e9b 100644 --- a/include/wx/palmos/pen.h +++ b/include/wx/palmos/pen.h @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/pen.h +// Name: wx/palmos/pen.h // Purpose: wxPen class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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,17 +77,8 @@ public: wxPen(); wxPen(const wxColour& col, int width = 1, int style = wxSOLID); wxPen(const wxBitmap& stipple, int width); - wxPen(const wxPen& pen) { Ref(pen); } virtual ~wxPen(); - wxPen& operator=(const wxPen& pen) - { - if ( this != &pen ) - Ref(pen); - - return *this; - } - bool operator==(const wxPen& pen) const { const wxPenRefData *penData = (wxPenRefData *)pen.m_refData; @@ -132,7 +119,7 @@ public: // Internal bool RealizeResource(); - bool FreeResource(bool force = FALSE); + bool FreeResource(bool force = false); WXHANDLE GetResourceHandle() const; bool IsFree() const; void Unshare(); @@ -142,4 +129,3 @@ private: }; #endif // _WX_PEN_H_ -