]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/statline.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / msw / statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/statline.h
3 // Purpose: MSW version of wxStaticLine class
4 // Author: Vadim Zeitlin
5 // Created: 28.06.99
6 // Copyright: (c) 1998 Vadim Zeitlin
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_MSW_STATLINE_H_
11 #define _WX_MSW_STATLINE_H_
12
13 // ----------------------------------------------------------------------------
14 // wxStaticLine
15 // ----------------------------------------------------------------------------
16
17 class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
18 {
19 public:
20 // constructors and pseudo-constructors
21 wxStaticLine() { }
22
23 wxStaticLine( wxWindow *parent,
24 wxWindowID id = wxID_ANY,
25 const wxPoint& pos = wxDefaultPosition,
26 const wxSize& size = wxDefaultSize,
27 long style = wxLI_HORIZONTAL,
28 const wxString &name = wxStaticLineNameStr )
29 {
30 Create(parent, id, pos, size, style, name);
31 }
32
33 bool Create( wxWindow *parent,
34 wxWindowID id = wxID_ANY,
35 const wxPoint& pos = wxDefaultPosition,
36 const wxSize& size = wxDefaultSize,
37 long style = wxLI_HORIZONTAL,
38 const wxString &name = wxStaticLineNameStr );
39
40 // overridden base class virtuals
41 virtual bool AcceptsFocus() const { return false; }
42
43 // usually overridden base class virtuals
44 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
45
46 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
47 };
48
49 #endif // _WX_MSW_STATLINE_H_
50
51