LabelItem.cpp 763 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // LabelItem.cpp: implementation of the CLabelItem class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #include "test_list_control.h"
  6. #include "LabelItem.h"
  7. #ifdef _DEBUG
  8. #undef THIS_FILE
  9. static char THIS_FILE[]=__FILE__;
  10. #define new DEBUG_NEW
  11. #endif
  12. //////////////////////////////////////////////////////////////////////
  13. // Construction/Destruction
  14. //////////////////////////////////////////////////////////////////////
  15. CLabelItem::CLabelItem()
  16. {
  17. }
  18. CLabelItem::CLabelItem(const CLabelItem& ci)
  19. {
  20. m_Addr = ci.m_Addr;
  21. m_strText = ci.m_strText;
  22. }
  23. CLabelItem::~CLabelItem()
  24. {
  25. }
  26. const CLabelItem& CLabelItem::operator=(const CLabelItem &ci)
  27. {
  28. m_Addr = ci.m_Addr;
  29. m_strText = ci.m_strText;
  30. return *this;
  31. }