]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/palmos/statline.h
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / include / wx / palmos / statline.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/statline.h
3// Purpose: Palm OS version of wxStaticLine class
4// Author: William Osborne - minimal working wxPalmOS port
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// ----------------------------------------------------------------------------
16// wxStaticLine
17// ----------------------------------------------------------------------------
18
19class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
20{
21public:
22 // constructors and pseudo-constructors
23 wxStaticLine() { }
24
25 wxStaticLine( wxWindow *parent,
26 wxWindowID id = wxID_ANY,
27 const wxPoint &pos = wxDefaultPosition,
28 const wxSize &size = wxDefaultSize,
29 long style = wxLI_HORIZONTAL,
30 const wxString &name = wxStaticLineNameStr )
31 {
32 Create(parent, id, pos, size, style, name);
33 }
34
35 bool Create( wxWindow *parent,
36 wxWindowID id = wxID_ANY,
37 const wxPoint &pos = wxDefaultPosition,
38 const wxSize &size = wxDefaultSize,
39 long style = wxLI_HORIZONTAL,
40 const wxString &name = wxStaticLineNameStr );
41
42 // overriden base class virtuals
43 virtual bool AcceptsFocus() const { return FALSE; }
44
45protected:
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