copy constructors and assignement operators for wxGraphicsObject subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -64,6 +64,10 @@ class WXDLLIMPEXP_CORE wxGraphicsObject : public wxObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsObject() ;
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsObject( const wxGraphicsObject& other) : wxObject( other ) {}
|
||||
wxGraphicsObject& operator= (const wxGraphicsObject & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
wxGraphicsObject( wxGraphicsRenderer* renderer ) ;
|
||||
virtual ~wxGraphicsObject() ;
|
||||
|
||||
@@ -83,6 +87,10 @@ class WXDLLIMPEXP_CORE wxGraphicsPen : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsPen() {}
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsPen( const wxGraphicsPen& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsPen& operator= (const wxGraphicsPen & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
virtual ~wxGraphicsPen() {}
|
||||
private :
|
||||
DECLARE_DYNAMIC_CLASS(wxGraphicsPen)
|
||||
@@ -94,6 +102,10 @@ class WXDLLIMPEXP_CORE wxGraphicsBrush : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsBrush() {}
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsBrush( const wxGraphicsBrush& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsBrush& operator= (const wxGraphicsBrush & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
virtual ~wxGraphicsBrush() {}
|
||||
private :
|
||||
DECLARE_DYNAMIC_CLASS(wxGraphicsBrush)
|
||||
@@ -105,6 +117,10 @@ class WXDLLIMPEXP_CORE wxGraphicsFont : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsFont() {}
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsFont( const wxGraphicsFont& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsFont& operator= (const wxGraphicsFont & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
virtual ~wxGraphicsFont() {}
|
||||
private :
|
||||
DECLARE_DYNAMIC_CLASS(wxGraphicsFont)
|
||||
@@ -116,6 +132,10 @@ class WXDLLIMPEXP_CORE wxGraphicsBitmap : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsBitmap() {}
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsBitmap( const wxGraphicsBitmap& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsBitmap& operator= (const wxGraphicsBitmap & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
virtual ~wxGraphicsBitmap() {}
|
||||
private :
|
||||
DECLARE_DYNAMIC_CLASS(wxGraphicsBitmap)
|
||||
@@ -182,6 +202,10 @@ class WXDLLIMPEXP_CORE wxGraphicsMatrix : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsMatrix() {}
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsMatrix( const wxGraphicsMatrix& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsMatrix& operator= (const wxGraphicsMatrix & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
|
||||
virtual ~wxGraphicsMatrix() {}
|
||||
|
||||
@@ -317,6 +341,10 @@ class WXDLLIMPEXP_CORE wxGraphicsPath : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsPath() {}
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsPath( const wxGraphicsPath& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsPath& operator= (const wxGraphicsPath & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
virtual ~wxGraphicsPath() {}
|
||||
|
||||
//
|
||||
@@ -604,6 +632,10 @@ class WXDLLIMPEXP_CORE wxGraphicsFigure : public wxGraphicsObject
|
||||
{
|
||||
public :
|
||||
wxGraphicsFigure(wxGraphicsRenderer* renderer) ;
|
||||
#if wxABI_VERSION >= 20810
|
||||
wxGraphicsFigure( const wxGraphicsFigure& other) : wxGraphicsObject( other ) {}
|
||||
wxGraphicsFigure& operator= (const wxGraphicsFigure & other) { Ref(other); return *this;}
|
||||
#endif
|
||||
|
||||
virtual ~wxGraphicsFigure() ;
|
||||
|
||||
|
Reference in New Issue
Block a user