]> git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/statline.h
Work around the fact that Metrowerks (CW 8.3) and Apple (10.2.8 sdk) headers
[wxWidgets.git] / include / wx / palmos / statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: palmos/statline.h
3 // Purpose: Palm OS version of wxStaticLine class
4 // Author: William Osborne
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id:
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MSW_STATLINE_H_
13 #define _WX_MSW_STATLINE_H_
14
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface
17 #endif
18
19 // ----------------------------------------------------------------------------
20 // wxStaticLine
21 // ----------------------------------------------------------------------------
22
23 class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
24 {
25 public:
26 // constructors and pseudo-constructors
27 wxStaticLine() { }
28
29 wxStaticLine( wxWindow *parent,
30 wxWindowID id,
31 const wxPoint &pos = wxDefaultPosition,
32 const wxSize &size = wxDefaultSize,
33 long style = wxLI_HORIZONTAL,
34 const wxString &name = wxStaticTextNameStr )
35 {
36 Create(parent, id, pos, size, style, name);
37 }
38
39 bool Create( wxWindow *parent,
40 wxWindowID id,
41 const wxPoint &pos = wxDefaultPosition,
42 const wxSize &size = wxDefaultSize,
43 long style = wxLI_HORIZONTAL,
44 const wxString &name = wxStaticTextNameStr );
45
46 // overriden base class virtuals
47 virtual bool AcceptsFocus() const { return FALSE; }
48
49 protected:
50 // usually overridden base class virtuals
51 virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
52
53 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine)
54 };
55
56 #endif // _WX_MSW_STATLINE_H_
57
58