home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / kwclass.zip / KPUSHBUT.HPP < prev    next >
C/C++ Source or Header  |  1994-04-18  |  557b  |  25 lines

  1. #ifndef _KPUSHBUT_
  2. #define _KPUSHBUT_
  3.  
  4.  
  5. #ifndef _IPUSHBUT_
  6.    #include <ipushbut.hpp>
  7. #endif
  8.  
  9. class KPushButton : public IPushButton
  10. {
  11.    public:
  12.       KPushButton(unsigned long id,
  13.                   IWindow *wndParent,
  14.                   IWindow *wndOwner,
  15.                   const IRectangle &initial,
  16.                   const IResourceId &resText,
  17.                   const IPushbutton::Style &style = defaultStyle())
  18.         : IPushButton(id, wndParent, wndOwner, initial, style)
  19.       {
  20.          setText(resText);
  21.       }
  22. };
  23.  
  24. #endif
  25.