]>
Commit | Line | Data |
---|---|---|
ffecfa5a | 1 | ///////////////////////////////////////////////////////////////////////////// |
e1d63b79 | 2 | // Name: wx/palmos/statline.h |
ffecfa5a | 3 | // Purpose: Palm OS version of wxStaticLine class |
e1d63b79 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e1d63b79 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_MSW_STATLINE_H_ | |
13 | #define _WX_MSW_STATLINE_H_ | |
14 | ||
ffecfa5a JS |
15 | // ---------------------------------------------------------------------------- |
16 | // wxStaticLine | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
53a2db12 | 19 | class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase |
ffecfa5a JS |
20 | { |
21 | public: | |
22 | // constructors and pseudo-constructors | |
23 | wxStaticLine() { } | |
24 | ||
25 | wxStaticLine( wxWindow *parent, | |
1de1196a | 26 | wxWindowID id = wxID_ANY, |
ffecfa5a JS |
27 | const wxPoint &pos = wxDefaultPosition, |
28 | const wxSize &size = wxDefaultSize, | |
29 | long style = wxLI_HORIZONTAL, | |
73b30256 | 30 | const wxString &name = wxStaticLineNameStr ) |
ffecfa5a JS |
31 | { |
32 | Create(parent, id, pos, size, style, name); | |
33 | } | |
34 | ||
35 | bool Create( wxWindow *parent, | |
1de1196a | 36 | wxWindowID id = wxID_ANY, |
ffecfa5a JS |
37 | const wxPoint &pos = wxDefaultPosition, |
38 | const wxSize &size = wxDefaultSize, | |
39 | long style = wxLI_HORIZONTAL, | |
73b30256 | 40 | const wxString &name = wxStaticLineNameStr ); |
ffecfa5a | 41 | |
4c51a665 | 42 | // overridden base class virtuals |
ffecfa5a JS |
43 | virtual bool AcceptsFocus() const { return FALSE; } |
44 | ||
45 | protected: | |
46 | // usually overridden base class virtuals | |
47 | virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; | |
48 | ||
49 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine) | |
50 | }; | |
51 | ||
52 | #endif // _WX_MSW_STATLINE_H_ | |
53 | ||
54 |