Denis Muratshin 11 years ago
parent
commit
0915e0b56c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      oxygine/src/TextActor.h

+ 7 - 0
oxygine/src/TextActor.h

@@ -8,10 +8,17 @@ namespace oxygine
 	TextActor name is deprecated.
 	*/
 
+	DECLARE_SMART(TextActor, spTextActor);
 	class TextActor : public TextField
 	{
 	public:
+		DECLARE_COPYCLONE_NEW(TextActor);
 		OXYGINE_DEPRECATED
 		TextActor(){}
 	};
+
+	inline void TextActor::copyFrom(const TextActor &src, cloneOptions opt)
+	{
+		TextField::copyFrom(src, opt);
+	}
 }