]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/statline.h
3 // Purpose: Palm OS version of wxStaticLine class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSW_STATLINE_H_
13 #define _WX_MSW_STATLINE_H_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
19 // ----------------------------------------------------------------------------
21 // ----------------------------------------------------------------------------
23 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
26 // constructors and pseudo-constructors
29 wxStaticLine( wxWindow
*parent
,
31 const wxPoint
&pos
= wxDefaultPosition
,
32 const wxSize
&size
= wxDefaultSize
,
33 long style
= wxLI_HORIZONTAL
,
34 const wxString
&name
= wxStaticTextNameStr
)
36 Create(parent
, id
, pos
, size
, style
, name
);
39 bool Create( wxWindow
*parent
,
41 const wxPoint
&pos
= wxDefaultPosition
,
42 const wxSize
&size
= wxDefaultSize
,
43 long style
= wxLI_HORIZONTAL
,
44 const wxString
&name
= wxStaticTextNameStr
);
46 // overriden base class virtuals
47 virtual bool AcceptsFocus() const { return FALSE
; }
50 // usually overridden base class virtuals
51 virtual WXDWORD
MSWGetStyle(long style
, WXDWORD
*exstyle
) const;
53 DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticLine
)
56 #endif // _WX_MSW_STATLINE_H_