]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/statline.h
added Get(Class)DefaultAttributes()
[wxWidgets.git] / include / wx / msw / statline.h
CommitLineData
c50f1fb9
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: msw/statline.h
3// Purpose: MSW version of wxStaticLine class
4// Author: Vadim Zeitlin
5// Created: 28.06.99
6// Version: $Id$
7// Copyright: (c) 1998 Vadim Zeitlin
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_MSW_STATLINE_H_
12#define _WX_MSW_STATLINE_H_
13
12028905 14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c50f1fb9
VZ
15 #pragma interface
16#endif
17
18// ----------------------------------------------------------------------------
19// wxStaticLine
20// ----------------------------------------------------------------------------
21
22class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
23{
c50f1fb9
VZ
24public:
25 // constructors and pseudo-constructors
26 wxStaticLine() { }
27
28 wxStaticLine( wxWindow *parent,
29 wxWindowID id,
30 const wxPoint &pos = wxDefaultPosition,
31 const wxSize &size = wxDefaultSize,
32 long style = wxLI_HORIZONTAL,
33 const wxString &name = wxStaticTextNameStr )
34 {
35 Create(parent, id, pos, size, style, name);
36 }
37
38 bool Create( wxWindow *parent,
39 wxWindowID id,
40 const wxPoint &pos = wxDefaultPosition,
41 const wxSize &size = wxDefaultSize,
42 long style = wxLI_HORIZONTAL,
43 const wxString &name = wxStaticTextNameStr );
9d9b7755
VZ
44
45 // overriden base class virtuals
46 virtual bool AcceptsFocus() const { return FALSE; }
cfa822b8
VZ
47
48protected:
49 // usually overridden base class virtuals
50 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
fc7a2a60
VZ
51
52 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
c50f1fb9
VZ
53};
54
55#endif // _WX_MSW_STATLINE_H_
56
57