git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
37 lines
980 B
C++
37 lines
980 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: edtree.h
|
|
// Purpose: Resource editor project management tree control
|
|
// Author: Julian Smart
|
|
// Modified by:
|
|
// Created: 04/01/98
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) Julian Smart
|
|
// Licence: wxWindows license
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _EDTREE_H_
|
|
#define _EDTREE_H_
|
|
|
|
#include "wx/treectrl.h"
|
|
|
|
class wxResourceEditorProjectTree: public wxTreeCtrl
|
|
{
|
|
public:
|
|
wxResourceEditorProjectTree(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
|
|
long style = wxTR_HAS_BUTTONS);
|
|
|
|
void LeftDClick(wxMouseEvent& event);
|
|
void OnSelChanged(wxTreeEvent& event);
|
|
|
|
inline void SetInvalid(bool invalid) { m_invalid = invalid; }
|
|
|
|
protected:
|
|
bool m_invalid; // While TRUE, don't respond to selections etc.
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
};
|
|
|
|
#endif
|
|
|