home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWLBWCC.PAK / BCHKBOX.CPP < prev    next >
C/C++ Source or Header  |  1995-08-29  |  1KB  |  42 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Implementation of class TBCheckBox.
  4. //----------------------------------------------------------------------------
  5. #include <owl\owlpch.h>
  6. #include "owl\groupbox.h"
  7. #include "bchkbox.h"
  8. #include "bwcc.h"
  9.  
  10. IMPLEMENT_STREAMABLE_FROM_BASE(TBCheckBox, TCheckBox);
  11.  
  12. //
  13. // constructor for a TBCheckBox object
  14. //
  15. TBCheckBox::TBCheckBox(TWindow*        parent,
  16.                        int             id,
  17.                        const char far* title,
  18.                        int x, int y, int w, int h,
  19.                        TGroupBox*      group,
  20.                        TModule*        module)
  21.   : TCheckBox(parent, id, title, x, y, w, h, group, module)
  22. {
  23. }
  24.  
  25. //
  26. // constructor for a TBCheckBox to be associated with a MS-Windows
  27. // interface element created by MS-Windows from a resource definition
  28. //
  29. TBCheckBox::TBCheckBox(TWindow*   parent,
  30.                        int        resourceId,
  31.                        TGroupBox* group,
  32.                        TModule*   module)
  33.   : TCheckBox(parent, resourceId, group, module)
  34. {
  35. }
  36.  
  37. char far*
  38. TBCheckBox::GetClassName()
  39. {
  40.   return CHECK_CLASS;
  41. }
  42.