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

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Implementation of class TBRadioButton.  This defines the basic behavior
  4. //   for all Borland custom radio buttons.
  5. //----------------------------------------------------------------------------
  6. #include <owl\owlpch.h>
  7. #include "owl\groupbox.h"
  8. #include "bradio.h"
  9. #include "bwcc.h"
  10.  
  11. IMPLEMENT_STREAMABLE_FROM_BASE(TBRadioButton, TRadioButton);
  12.  
  13. //
  14. // constructor for a TBRadioButton object
  15. //
  16. TBRadioButton::TBRadioButton(TWindow*        parent,
  17.                              int             id,
  18.                              const char far* title,
  19.                              int x, int y, int w, int h,
  20.                              TGroupBox*      group,
  21.                              TModule*        module)
  22.   : TRadioButton(parent, id, title, x, y, w, h, group, module)
  23. {
  24. }
  25.  
  26. TBRadioButton::TBRadioButton(TWindow*   parent,
  27.                              int        resourceId,
  28.                              TGroupBox* group,
  29.                              TModule*   module)
  30.   : TRadioButton(parent, resourceId, group, module)
  31. {
  32. }
  33.  
  34. char far*
  35. TBRadioButton::GetClassName()
  36. {
  37.   return RADIO_CLASS;
  38. }
  39.