Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
0e72bf9d
Commit
0e72bf9d
authored
Nov 06, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/playlist.cpp: unicode build fixes.
parent
d090e475
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+9
-8
No files found.
modules/gui/wxwindows/playlist.cpp
View file @
0e72bf9d
...
@@ -461,22 +461,23 @@ void Playlist::CreateNode( playlist_t *p_playlist, playlist_item_t *p_node,
...
@@ -461,22 +461,23 @@ void Playlist::CreateNode( playlist_t *p_playlist, playlist_item_t *p_node,
wxTreeItemId
parent
)
wxTreeItemId
parent
)
{
{
long
cookie
;
long
cookie
;
wxTreeItemId
node
=
treectrl
->
AppendItem
(
parent
,
p_node
->
input
.
psz_name
,
wxTreeItemId
node
=
-
1
,
-
1
,
treectrl
->
AppendItem
(
parent
,
wxL2U
(
p_node
->
input
.
psz_name
)
,
new
PlaylistItem
(
p_node
)
);
-
1
,
-
1
,
new
PlaylistItem
(
p_node
)
);
treectrl
->
SetItemImage
(
node
,
p_node
->
input
.
i_type
);
treectrl
->
SetItemImage
(
node
,
p_node
->
input
.
i_type
);
for
(
int
i
=
0
;
i
<
p_node
->
i_children
;
i
++
)
for
(
int
i
=
0
;
i
<
p_node
->
i_children
;
i
++
)
{
{
/* Append the item */
/* Append the item */
if
(
p_node
->
pp_children
[
i
]
->
i_children
==
-
1
)
if
(
p_node
->
pp_children
[
i
]
->
i_children
==
-
1
)
{
{
wxTreeItemId
item
=
treectrl
->
AppendItem
(
node
,
wxTreeItemId
item
=
p_node
->
pp_children
[
i
]
->
input
.
psz_nam
e
,
treectrl
->
AppendItem
(
nod
e
,
-
1
,
-
1
,
wxL2U
(
p_node
->
pp_children
[
i
]
->
input
.
psz_name
),
-
1
,
-
1
,
new
PlaylistItem
(
p_node
->
pp_children
[
i
])
);
new
PlaylistItem
(
p_node
->
pp_children
[
i
])
);
treectrl
->
SetItemImage
(
item
,
treectrl
->
SetItemImage
(
item
,
p_node
->
pp_children
[
i
]
->
input
.
i_type
);
p_node
->
pp_children
[
i
]
->
input
.
i_type
);
}
}
else
else
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment