Code::Blocks
SVN r11506
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
Enumerations
+
Enumerator
b
c
d
e
f
k
n
p
r
s
u
v
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
a
b
c
d
e
f
i
l
m
p
r
s
t
w
+
Enumerations
b
c
d
e
f
l
o
p
q
r
s
t
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
+
Related Functions
b
c
d
e
f
l
m
n
p
s
t
u
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
e
f
g
h
i
k
m
n
r
s
t
u
w
+
Typedefs
b
c
e
f
h
n
o
p
r
s
t
v
w
+
Enumerations
a
b
c
d
e
f
l
m
o
p
s
t
w
+
Enumerator
a
b
c
d
e
f
h
l
m
o
p
s
t
u
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
include
misctreeitemdata.h
Go to the documentation of this file.
1
/*
2
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3
* http://www.gnu.org/licenses/lgpl-3.0.html
4
*/
5
6
#ifndef MISCTREEITEMDATA_H
7
#define MISCTREEITEMDATA_H
8
9
#include <
wx/treectrl.h
>
10
11
/* New class: MiscTreeItemData.
12
* This class allows a TreeData to be created specifying
13
* which Event Handler should process its related events.
14
*/
15
16
class
DLLIMPORT
MiscTreeItemData
:
public
wxTreeItemData
17
{
18
public
:
19
MiscTreeItemData
():m_owner(0L) {}
20
wxEvtHandler
*
GetOwner
() {
return
m_owner; }
21
static
bool
OwnerCheck(
wxTreeEvent
& event,
wxTreeCtrl
*tree,
wxEvtHandler
*handler,
bool
strict=
false
);
22
~MiscTreeItemData
()
override
{ m_owner=0L; }
23
protected
:
24
void
SetOwner
(
wxEvtHandler
*owner) { m_owner=owner; }
25
private
:
26
wxEvtHandler
*
m_owner
;
27
};
28
29
#endif // MISCTREEITEMDATA_H
treectrl.h
MiscTreeItemData::m_owner
wxEvtHandler * m_owner
Definition:
misctreeitemdata.h:26
MiscTreeItemData::MiscTreeItemData
MiscTreeItemData()
Definition:
misctreeitemdata.h:19
MiscTreeItemData::GetOwner
wxEvtHandler * GetOwner()
Definition:
misctreeitemdata.h:20
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
MiscTreeItemData::SetOwner
void SetOwner(wxEvtHandler *owner)
Definition:
misctreeitemdata.h:24
MiscTreeItemData::~MiscTreeItemData
~MiscTreeItemData() override
Definition:
misctreeitemdata.h:22
wxTreeEvent
wxTreeCtrl
MiscTreeItemData
Definition:
misctreeitemdata.h:16
wxEvtHandler
wxTreeItemData
Generated by
1.8.13