Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB

  1. // cntritem.cpp : implementation of the CWordPadCntrItem class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. #include "stdafx.h"
  13. #include "wordpad.h"
  14. #include "wordpdoc.h"
  15. #include "wordpvw.h"
  16. #include "cntritem.h"
  17. #ifdef _DEBUG
  18. #undef THIS_FILE
  19. static char BASED_CODE THIS_FILE[] = __FILE__;
  20. #endif
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CWordPadCntrItem implementation
  23. IMPLEMENT_SERIAL(CWordPadCntrItem, CRichEdit2CntrItem, 0)
  24. CWordPadCntrItem::CWordPadCntrItem(REOBJECT *preo, CWordPadDoc* pContainer)
  25. : CRichEdit2CntrItem(preo, pContainer)
  26. {
  27. }
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CWordPadCntrItem diagnostics
  30. #ifdef _DEBUG
  31. void CWordPadCntrItem::AssertValid() const
  32. {
  33. CRichEdit2CntrItem::AssertValid();
  34. }
  35. void CWordPadCntrItem::Dump(CDumpContext& dc) const
  36. {
  37. CRichEdit2CntrItem::Dump(dc);
  38. }
  39. #endif
  40. /////////////////////////////////////////////////////////////////////////////