]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/edtree.h
new VC++ workspace file for wxBase
[wxWidgets.git] / utils / dialoged / src / edtree.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: edtree.h
3 // Purpose: Resource editor project management tree control
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 04/01/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _EDTREE_H_
13 #define _EDTREE_H_
14
15 #include <wx/treectrl.h>
16
17 class wxResourceEditorProjectTree: public wxTreeCtrl
18 {
19 public:
20 wxResourceEditorProjectTree(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
21 long style = wxTR_HAS_BUTTONS);
22
23 void LeftDClick(wxMouseEvent& event);
24 void OnSelChanged(wxTreeEvent& event);
25
26 inline void SetInvalid(bool invalid) { m_invalid = invalid; }
27
28 protected:
29 bool m_invalid; // While TRUE, don't respond to selections etc.
30
31 DECLARE_EVENT_TABLE()
32
33 };
34
35 #endif
36