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

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Implementation of class TBWindow, a BWCC friendly derivation of TWindow
  4. //----------------------------------------------------------------------------
  5. #include <owl\owlpch.h>
  6. #include "bwindow.h"
  7. #include "bwcc.h"
  8.  
  9. IMPLEMENT_STREAMABLE_FROM_BASE(TBWindow, TWindow);
  10.  
  11. //
  12. // constructor for a TBWindow object
  13. //
  14. TBWindow::TBWindow(TWindow*        parent,
  15.                    const char far* title,
  16.                    TModule*        module)
  17.   : TWindow(parent, title, module)
  18. {
  19. }
  20.  
  21. char far*
  22. TBWindow::GetClassName()
  23. {
  24.   return "TBWindow";
  25. }
  26.  
  27. void
  28. TBWindow::GetWindowClass(WNDCLASS& wndClass)
  29. {
  30.   TWindow::GetWindowClass(wndClass);
  31.   wndClass.hbrBackground = (HBRUSH)GetStockObject(LTGRAY_BRUSH);
  32. }
  33.