]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/statline.h
added wx/defs.h include to correct compilation issues under Mac OS X
[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
14#ifdef __GNUG__
15 #pragma interface
16#endif
17
18// ----------------------------------------------------------------------------
19// wxStaticLine
20// ----------------------------------------------------------------------------
21
22class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
23{
24 DECLARE_DYNAMIC_CLASS(wxStaticLine)
25
26public:
27 // constructors and pseudo-constructors
28 wxStaticLine() { }
29
30 wxStaticLine( wxWindow *parent,
31 wxWindowID id,
32 const wxPoint &pos = wxDefaultPosition,
33 const wxSize &size = wxDefaultSize,
34 long style = wxLI_HORIZONTAL,
35 const wxString &name = wxStaticTextNameStr )
36 {
37 Create(parent, id, pos, size, style, name);
38 }
39
40 bool Create( wxWindow *parent,
41 wxWindowID id,
42 const wxPoint &pos = wxDefaultPosition,
43 const wxSize &size = wxDefaultSize,
44 long style = wxLI_HORIZONTAL,
45 const wxString &name = wxStaticTextNameStr );
9d9b7755
VZ
46
47 // overriden base class virtuals
48 virtual bool AcceptsFocus() const { return FALSE; }
c50f1fb9
VZ
49};
50
51#endif // _WX_MSW_STATLINE_H_
52
53