1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/statline.h
3 // Purpose: wxStaticLine class
4 // Author: David Elliott
7 // Copyright: (c) 2003 David Elliott
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __WX_COCOA_STATLINE_H__
12 #define __WX_COCOA_STATLINE_H__
14 // #include "wx/cocoa/NSButton.h"
16 // ========================================================================
18 // ========================================================================
19 class WXDLLIMPEXP_CORE wxStaticLine
: public wxStaticLineBase
// , protected wxCocoaNSButton
21 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
23 // WX_DECLARE_COCOA_OWNER(NSButton,NSControl,NSView)
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
29 wxStaticLine(wxWindow
*parent
, wxWindowID winid
= wxID_ANY
,
30 const wxPoint
& pos
= wxDefaultPosition
,
31 const wxSize
& size
= wxDefaultSize
,
32 long style
= 0, const wxString
& name
= wxStaticLineNameStr
)
34 Create(parent
, winid
, pos
, size
, style
, name
);
37 bool Create(wxWindow
*parent
, wxWindowID winid
= wxID_ANY
,
38 const wxPoint
& pos
= wxDefaultPosition
,
39 const wxSize
& size
= wxDefaultSize
,
40 long style
= 0, const wxString
& name
= wxStaticLineNameStr
);
41 virtual ~wxStaticLine();
43 // ------------------------------------------------------------------------
45 // ------------------------------------------------------------------------
47 // Static lines cannot be enabled/disabled
48 virtual void CocoaSetEnabled(bool WXUNUSED(enable
)) { }
49 // ------------------------------------------------------------------------
51 // ------------------------------------------------------------------------
55 #endif // __WX_COCOA_STATLINE_H__