]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/statline.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / cocoa / statline.h
CommitLineData
da0634c1
DE
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/statline.h
3// Purpose: wxStaticLine class
4// Author: David Elliott
5// Modified by:
6// Created: 2003/03/18
1c4e8f38 7// RCS-ID: $Id$
da0634c1 8// Copyright: (c) 2003 David Elliott
1c4e8f38 9// Licence: wxWindows licence
da0634c1
DE
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __WX_COCOA_STATLINE_H__
13#define __WX_COCOA_STATLINE_H__
14
15// #include "wx/cocoa/NSButton.h"
16
17// ========================================================================
18// wxStaticLine
19// ========================================================================
53a2db12 20class WXDLLIMPEXP_CORE wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSButton
da0634c1
DE
21{
22 DECLARE_DYNAMIC_CLASS(wxStaticLine)
23 DECLARE_EVENT_TABLE()
24// WX_DECLARE_COCOA_OWNER(NSButton,NSControl,NSView)
25// ------------------------------------------------------------------------
26// initialization
27// ------------------------------------------------------------------------
28public:
29 wxStaticLine() { }
1de1196a 30 wxStaticLine(wxWindow *parent, wxWindowID winid = wxID_ANY,
da0634c1
DE
31 const wxPoint& pos = wxDefaultPosition,
32 const wxSize& size = wxDefaultSize,
73b30256 33 long style = 0, const wxString& name = wxStaticLineNameStr)
da0634c1
DE
34 {
35 Create(parent, winid, pos, size, style, name);
36 }
37
1de1196a 38 bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
da0634c1
DE
39 const wxPoint& pos = wxDefaultPosition,
40 const wxSize& size = wxDefaultSize,
73b30256 41 long style = 0, const wxString& name = wxStaticLineNameStr);
da0634c1
DE
42 virtual ~wxStaticLine();
43
44// ------------------------------------------------------------------------
45// Cocoa callbacks
46// ------------------------------------------------------------------------
47protected:
761bdfaa 48 // Static lines cannot be enabled/disabled
46f3731f 49 virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { }
da0634c1
DE
50// ------------------------------------------------------------------------
51// Implementation
52// ------------------------------------------------------------------------
53public:
54};
55
56#endif // __WX_COCOA_STATLINE_H__