]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/project.h
applied patch 528960 (a few minor bug fixes)
[wxWidgets.git] / contrib / samples / ogl / studio / project.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: project.h
3 // Purpose: Studio project classes
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 27/7/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence:
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _STUDIO_PROJECT_H_
13 #define _STUDIO_PROJECT_H_
14
15 #include <wx/treectrl.h>
16 #include <wx/imaglist.h>
17
18 /*
19 * This is the project tree control.
20 */
21
22 class csProjectTreeCtrl: public wxTreeCtrl
23 {
24
25 DECLARE_CLASS(csProjectTreeCtrl)
26 public:
27
28 csProjectTreeCtrl(wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size,
29 long style = wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT);
30
31 ~csProjectTreeCtrl();
32
33 wxImageList& GetImageList() const { return (wxImageList&) m_imageList; }
34 protected:
35 wxImageList m_imageList;
36
37 DECLARE_EVENT_TABLE()
38 };
39
40 #endif
41 // _STUDIO_PROJECT_H_
42