home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWL1.PAK / BRADIO.CPP < prev    next >
Text File  |  1995-08-29  |  865b  |  27 lines

  1. // ObjectWindows - (C) Copyright 1992 by Borland International
  2.  
  3. /* --------------------------------------------------------
  4.   BRADIO.CPP
  5.   Defines type TBRadioButton.  This defines the basic behavior
  6.   for all Borland custom radio buttons.
  7.   -------------------------------------------------------- */
  8.  
  9. #include "bradio.h"
  10. #include "groupbox.h"
  11.  
  12. /* Constructor for a TBRadioButton object.  */
  13.  
  14. TBRadioButton::TBRadioButton(PTWindowsObject AParent, int AnId,
  15.                    LPSTR ATitle, int X, int Y, int W,
  16.                    int H, PTGroupBox AGroup, PTModule AModule)
  17.           : TRadioButton(AParent, AnId, ATitle, X, Y, W, H, AGroup, AModule)
  18. {}
  19.  
  20. PTStreamable TBRadioButton::build()
  21. {
  22.   return new TBRadioButton(streamableInit);
  23. }
  24.  
  25. TStreamableClass RegBRadioButton("TBRadioButton", TBRadioButton::build,
  26.                               __DELTA(TBRadioButton));
  27.