]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSTabView.h
create greyed image for wxBitmapButton in MSW automatically, as in wxGTK (replaces...
[wxWidgets.git] / include / wx / cocoa / NSTabView.h
CommitLineData
78480884
DE
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/NSTabView.h
3// Purpose: wxCocoaNSTabView class
4// Author: David Elliott
5// Modified by:
6// Created: 2004/04/08
7// RCS-ID: $Id$
8// Copyright: (c) 2004 David Elliott
65571936 9// Licence: wxWindows licence
78480884
DE
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_COCOA_NSTABVIEW_H__
13#define _WX_COCOA_NSTABVIEW_H__
14
15#include "wx/hashmap.h"
16#include "wx/cocoa/ObjcAssociate.h"
17#include "wx/cocoa/ObjcRef.h"
18
19DECLARE_WXCOCOA_OBJC_CLASS(NSTabView);
20DECLARE_WXCOCOA_OBJC_CLASS(NSTabViewItem);
21WX_DECLARE_OBJC_HASHMAP(NSTabView);
22class wxCocoaNSTabView
23{
24 WX_DECLARE_OBJC_INTERFACE_HASHMAP(NSTabView)
25public:
26 void AssociateNSTabView(WX_NSTabView cocoaNSTabView);
27 void DisassociateNSTabView(WX_NSTabView ocoaNSTabView);
28 virtual void CocoaDelegate_tabView_didSelectTabViewItem(WX_NSTabViewItem tabviewItem) = 0;
29 virtual bool CocoaDelegate_tabView_shouldSelectTabViewItem(WX_NSTabViewItem tabviewItem) = 0;
31e57091
VZ
30 virtual ~wxCocoaNSTabView() { }
31
78480884
DE
32protected:
33 static wxObjcAutoRefFromAlloc<struct objc_object*> sm_cocoaDelegate;
34};
35
36#endif // _WX_COCOA_NSTABVIEW_H__