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