1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/dataview.h
3 // Purpose: wxDataViewCtrl GTK+2 implementation header
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKDATAVIEWCTRLH__
11 #define __GTKDATAVIEWCTRLH__
14 #include "wx/object.h"
16 #include "wx/control.h"
18 // ---------------------------------------------------------
20 // ---------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxDataViewCtrl
;
24 // ---------------------------------------------------------
26 // ---------------------------------------------------------
28 class WXDLLIMPEXP_CORE wxDataViewCtrl
: public wxDataViewCtrlBase
36 wxDataViewCtrl( wxWindow
*parent
, wxWindowID id
,
37 const wxPoint
& pos
= wxDefaultPosition
,
38 const wxSize
& size
= wxDefaultSize
, long style
= 0,
39 const wxValidator
& validator
= wxDefaultValidator
)
41 Create(parent
, id
, pos
, size
, style
, validator
);
44 virtual ~wxDataViewCtrl();
48 bool Create(wxWindow
*parent
, wxWindowID id
,
49 const wxPoint
& pos
= wxDefaultPosition
,
50 const wxSize
& size
= wxDefaultSize
, long style
= 0,
51 const wxValidator
& validator
= wxDefaultValidator
);
53 virtual bool AppendStringColumn( const wxString
&label
);
55 virtual bool AssociateModel( wxDataViewListModel
*model
);
59 DECLARE_DYNAMIC_CLASS(wxDataViewCtrl
)
60 DECLARE_NO_COPY_CLASS(wxDataViewCtrl
)
64 #endif // __GTKDATAVIEWCTRLH__