]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/statline.h
added wxConvFileName which is a variable, not define as wxConvFile; added comments...
[wxWidgets.git] / include / wx / msw / statline.h
... / ...
CommitLineData
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#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface
16#endif
17
18// ----------------------------------------------------------------------------
19// wxStaticLine
20// ----------------------------------------------------------------------------
21
22class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
23{
24public:
25 // constructors and pseudo-constructors
26 wxStaticLine() { }
27
28 wxStaticLine( wxWindow *parent,
29 wxWindowID id = wxID_ANY,
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 = wxID_ANY,
40 const wxPoint& pos = wxDefaultPosition,
41 const wxSize& size = wxDefaultSize,
42 long style = wxLI_HORIZONTAL,
43 const wxString &name = wxStaticTextNameStr );
44
45 // overriden base class virtuals
46 virtual bool AcceptsFocus() const { return false; }
47
48protected:
49 // usually overridden base class virtuals
50 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
51
52 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
53};
54
55#endif // _WX_MSW_STATLINE_H_
56
57