Audacity
3.2.0
Toggle main menu visibility
Main Page
Related Pages
Modules
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
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
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
j
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
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
h
i
k
l
m
o
p
r
s
t
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Related Functions
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Files
File List
File 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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
c
d
e
f
k
l
m
n
o
p
r
s
t
u
v
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
libraries
lib-wx-init
wxWidgetsWindowPlacement.cpp
Go to the documentation of this file.
1
/*!********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
@file wxWidgetsWindowPlacement.cpp
6
7
split from wxWidgetsBasicUI.cpp
8
9
Paul Licameli
10
11
**********************************************************************/
12
#include "
wxWidgetsWindowPlacement.h
"
13
14
using namespace
BasicUI
;
15
16
wxWidgetsWindowPlacement::~wxWidgetsWindowPlacement
() =
default
;
17
18
wxWidgetsWindowPlacement::operator bool()
const
19
{
20
return
pWindow !=
nullptr
;
21
}
22
23
wxWindow *
wxWidgetsWindowPlacement::GetParent
(
const
WindowPlacement
&placement)
24
{
25
if
(
auto
*pPlacement =
26
dynamic_cast<
const
wxWidgetsWindowPlacement
*
>
(&placement))
27
return
pPlacement->pWindow;
28
return
nullptr
;
29
}
BasicUI::WindowPlacement
Subclasses may hold information such as a parent window pointer for a dialog.
Definition:
BasicUI.h:30
BasicUI
Definition:
ProjectWindows.h:20
wxWidgetsWindowPlacement
Window placement information for wxWidgetsBasicUI can be constructed from a wxWindow pointer.
Definition:
wxWidgetsWindowPlacement.h:22
wxWidgetsWindowPlacement::~wxWidgetsWindowPlacement
~wxWidgetsWindowPlacement() override
wxWidgetsWindowPlacement::GetParent
static wxWindow * GetParent(const WindowPlacement &placement)
Retrieve the pointer to window, if placement is of this type; else null.
Definition:
wxWidgetsWindowPlacement.cpp:23
wxWidgetsWindowPlacement.h
Generated by
1.9.3