]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/statline.h
3 // Purpose: wxStaticLine class
4 // Author: David Elliott
8 // Copyright: (c) 2003 David Elliott
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __WX_COCOA_STATLINE_H__
13 #define __WX_COCOA_STATLINE_H__
15 // #include "wx/cocoa/NSButton.h"
17 // ========================================================================
19 // ========================================================================
20 class WXDLLEXPORT wxStaticLine
: public wxStaticLineBase
// , protected wxCocoaNSButton
22 DECLARE_DYNAMIC_CLASS(wxStaticLine
)
24 // WX_DECLARE_COCOA_OWNER(NSButton,NSControl,NSView)
25 // ------------------------------------------------------------------------
27 // ------------------------------------------------------------------------
30 wxStaticLine(wxWindow
*parent
, wxWindowID winid
,
31 const wxPoint
& pos
= wxDefaultPosition
,
32 const wxSize
& size
= wxDefaultSize
,
33 long style
= 0, const wxString
& name
= wxStaticTextNameStr
)
35 Create(parent
, winid
, pos
, size
, style
, name
);
38 bool Create(wxWindow
*parent
, wxWindowID winid
,
39 const wxPoint
& pos
= wxDefaultPosition
,
40 const wxSize
& size
= wxDefaultSize
,
41 long style
= 0, const wxString
& name
= wxStaticTextNameStr
);
42 virtual ~wxStaticLine();
44 // ------------------------------------------------------------------------
46 // ------------------------------------------------------------------------
48 // Static lines cannot be enabled/disabled
49 virtual void CocoaSetEnabled(bool enable
) { }
50 // ------------------------------------------------------------------------
52 // ------------------------------------------------------------------------
56 #endif // __WX_COCOA_STATLINE_H__