]> git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/statline.h
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / include / wx / cocoa / statline.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/statline.h
3 // Purpose: wxStaticLine class
4 // Author: David Elliott
5 // Modified by:
6 // Created: 2003/03/18
7 // Copyright: (c) 2003 David Elliott
8 // Licence: wxWindows licence
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 // ========================================================================
19 class WXDLLIMPEXP_CORE wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSButton
20 {
21 DECLARE_DYNAMIC_CLASS(wxStaticLine)
22 DECLARE_EVENT_TABLE()
23 // WX_DECLARE_COCOA_OWNER(NSButton,NSControl,NSView)
24 // ------------------------------------------------------------------------
25 // initialization
26 // ------------------------------------------------------------------------
27 public:
28 wxStaticLine() { }
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)
33 {
34 Create(parent, winid, pos, size, style, name);
35 }
36
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();
42
43 // ------------------------------------------------------------------------
44 // Cocoa callbacks
45 // ------------------------------------------------------------------------
46 protected:
47 // Static lines cannot be enabled/disabled
48 virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { }
49 // ------------------------------------------------------------------------
50 // Implementation
51 // ------------------------------------------------------------------------
52 public:
53 };
54
55 #endif // __WX_COCOA_STATLINE_H__