]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/statline.h
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        msw/statline.h 
   3 // Purpose:     MSW version of wxStaticLine class 
   4 // Author:      Vadim Zeitlin 
   7 // Copyright:   (c) 1998 Vadim Zeitlin 
   8 // Licence:     wxWindows licence 
   9 ///////////////////////////////////////////////////////////////////////////// 
  11 #ifndef _WX_MSW_STATLINE_H_ 
  12 #define _WX_MSW_STATLINE_H_ 
  14 // ---------------------------------------------------------------------------- 
  16 // ---------------------------------------------------------------------------- 
  18 class WXDLLEXPORT wxStaticLine 
: public wxStaticLineBase
 
  21     // constructors and pseudo-constructors 
  24     wxStaticLine( wxWindow 
*parent
, 
  25                   wxWindowID id 
= wxID_ANY
, 
  26                   const wxPoint
& pos 
= wxDefaultPosition
, 
  27                   const wxSize
& size 
= wxDefaultSize
, 
  28                   long style 
= wxLI_HORIZONTAL
, 
  29                   const wxString 
&name 
= wxStaticTextNameStr 
) 
  31         Create(parent
, id
, pos
, size
, style
, name
); 
  34     bool Create( wxWindow 
*parent
, 
  35                  wxWindowID id 
= wxID_ANY
, 
  36                  const wxPoint
& pos 
= wxDefaultPosition
, 
  37                  const wxSize
& size 
= wxDefaultSize
, 
  38                  long style 
= wxLI_HORIZONTAL
, 
  39                  const wxString 
&name 
= wxStaticTextNameStr 
); 
  41     // overriden base class virtuals 
  42     virtual bool AcceptsFocus() const { return false; } 
  44     // usually overridden base class virtuals 
  45     virtual WXDWORD 
MSWGetStyle(long style
, WXDWORD 
*exstyle
) const; 
  47     DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine
) 
  50 #endif // _WX_MSW_STATLINE_H_