Switched to default constructor and operator= for EDA_TEXT.
This commit is contained in:
parent
7ad2f37391
commit
f95628c132
|
@ -66,23 +66,6 @@ EDA_TEXT::EDA_TEXT( const wxString& text )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
EDA_TEXT::EDA_TEXT( const EDA_TEXT& aText )
|
|
||||||
{
|
|
||||||
m_Pos = aText.m_Pos;
|
|
||||||
m_Size = aText.m_Size;
|
|
||||||
m_Orient = aText.m_Orient;
|
|
||||||
m_Attributs = aText.m_Attributs;
|
|
||||||
m_Mirror = aText.m_Mirror;
|
|
||||||
m_HJustify = aText.m_HJustify;
|
|
||||||
m_VJustify = aText.m_VJustify;
|
|
||||||
m_Thickness = aText.m_Thickness;
|
|
||||||
m_Italic = aText.m_Italic;
|
|
||||||
m_Bold = aText.m_Bold;
|
|
||||||
m_MultilineAllowed = aText.m_MultilineAllowed;
|
|
||||||
m_Text = aText.m_Text;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
EDA_TEXT::~EDA_TEXT()
|
EDA_TEXT::~EDA_TEXT()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,10 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EDA_TEXT( const wxString& text = wxEmptyString );
|
EDA_TEXT( const wxString& text = wxEmptyString );
|
||||||
EDA_TEXT( const EDA_TEXT& aText );
|
|
||||||
|
// Do not create a copy constructor & operator=.
|
||||||
|
// The ones generated by the compiler are adequate.
|
||||||
|
|
||||||
virtual ~EDA_TEXT();
|
virtual ~EDA_TEXT();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue