home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 2.ddi / OWLSRC.ZIP / BRADIO.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  865 b   |  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.