]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/edtree.h
TODO note :)
[wxWidgets.git] / utils / dialoged / src / edtree.h
CommitLineData
ae8351fc
JS
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
5aa5c1e4 15#include "wx/treectrl.h"
ae8351fc
JS
16
17class wxResourceEditorProjectTree: public wxTreeCtrl
18{
19public:
20 wxResourceEditorProjectTree(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
21 long style = wxTR_HAS_BUTTONS);
f6bcfd97 22
ae8351fc
JS
23 void LeftDClick(wxMouseEvent& event);
24 void OnSelChanged(wxTreeEvent& event);
f6bcfd97 25
ae8351fc 26 inline void SetInvalid(bool invalid) { m_invalid = invalid; }
f6bcfd97 27
ae8351fc
JS
28protected:
29 bool m_invalid; // While TRUE, don't respond to selections etc.
f6bcfd97
BP
30
31 DECLARE_EVENT_TABLE()
32
ae8351fc
JS
33};
34
35#endif
36