Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7c20b517
Commit
7c20b517
authored
Dec 27, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: use the wxL2U macro when necessary.
parent
cf8bbfcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
modules/gui/wxwindows/fileinfo.cpp
modules/gui/wxwindows/fileinfo.cpp
+8
-8
modules/gui/wxwindows/messages.cpp
modules/gui/wxwindows/messages.cpp
+3
-3
No files found.
modules/gui/wxwindows/fileinfo.cpp
View file @
7c20b517
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* fileinfo.cpp : wxWindows plugin for vlc
* fileinfo.cpp : wxWindows plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001,2003 VideoLAN
* Copyright (C) 2000-2001,2003 VideoLAN
* $Id: fileinfo.cpp,v 1.2
1 2003/12/22 02:24:52 sam
Exp $
* $Id: fileinfo.cpp,v 1.2
2 2003/12/27 14:36:30 gbazin
Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
*
...
@@ -104,17 +104,17 @@ void FileInfo::UpdateFileInfo()
...
@@ -104,17 +104,17 @@ void FileInfo::UpdateFileInfo()
* retrieved with the GetItemText() method, but it doesn't work on
* retrieved with the GetItemText() method, but it doesn't work on
* Windows when the wxTR_HIDE_ROOT style is set. That's why we need to
* Windows when the wxTR_HIDE_ROOT style is set. That's why we need to
* use the fileinfo_root_label variable... */
* use the fileinfo_root_label variable... */
fileinfo_root
=
fileinfo_tree
->
AddRoot
(
wxU
(
p_input
->
psz_name
)
);
fileinfo_root
=
fileinfo_tree
->
AddRoot
(
wx
L2
U
(
p_input
->
psz_name
)
);
fileinfo_root_label
=
wxU
(
p_input
->
psz_name
);
fileinfo_root_label
=
wx
L2
U
(
p_input
->
psz_name
);
}
}
else
if
(
fileinfo_root_label
==
wxU
(
p_input
->
psz_name
)
)
else
if
(
fileinfo_root_label
==
wx
L2
U
(
p_input
->
psz_name
)
)
{
{
return
;
return
;
}
}
/* We rebuild the tree from scratch */
/* We rebuild the tree from scratch */
fileinfo_tree
->
DeleteChildren
(
fileinfo_root
);
fileinfo_tree
->
DeleteChildren
(
fileinfo_root
);
fileinfo_root_label
=
wxU
(
p_input
->
psz_name
);
fileinfo_root_label
=
wx
L2
U
(
p_input
->
psz_name
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
...
@@ -123,12 +123,12 @@ void FileInfo::UpdateFileInfo()
...
@@ -123,12 +123,12 @@ void FileInfo::UpdateFileInfo()
while
(
p_cat
)
while
(
p_cat
)
{
{
wxTreeItemId
cat
=
fileinfo_tree
->
AppendItem
(
fileinfo_root
,
wxTreeItemId
cat
=
fileinfo_tree
->
AppendItem
(
fileinfo_root
,
wxU
(
p_cat
->
psz_name
)
);
wx
L2
U
(
p_cat
->
psz_name
)
);
input_info_t
*
p_info
=
p_cat
->
p_info
;
input_info_t
*
p_info
=
p_cat
->
p_info
;
while
(
p_info
)
while
(
p_info
)
{
{
fileinfo_tree
->
AppendItem
(
cat
,
(
wxString
)
wxU
(
p_info
->
psz_name
)
+
fileinfo_tree
->
AppendItem
(
cat
,
(
wxString
)
wx
L2
U
(
p_info
->
psz_name
)
+
wxT
(
": "
)
+
wxU
(
p_info
->
psz_value
)
);
wxT
(
": "
)
+
wx
L2
U
(
p_info
->
psz_value
)
);
p_info
=
p_info
->
p_next
;
p_info
=
p_info
->
p_next
;
}
}
p_cat
=
p_cat
->
p_next
;
p_cat
=
p_cat
->
p_next
;
...
...
modules/gui/wxwindows/messages.cpp
View file @
7c20b517
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* playlist.cpp : wxWindows plugin for vlc
* playlist.cpp : wxWindows plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* Copyright (C) 2000-2001 VideoLAN
* $Id: messages.cpp,v 1.1
8 2003/12/22 02:24:52 sam
Exp $
* $Id: messages.cpp,v 1.1
9 2003/12/27 14:36:30 gbazin
Exp $
*
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
*
*
...
@@ -157,7 +157,7 @@ void Messages::UpdateLog()
...
@@ -157,7 +157,7 @@ void Messages::UpdateLog()
/* Append all messages to log window */
/* Append all messages to log window */
textctrl
->
SetDefaultStyle
(
*
dbg_attr
);
textctrl
->
SetDefaultStyle
(
*
dbg_attr
);
(
*
textctrl
)
<<
wxU
(
p_sub
->
p_msg
[
i_start
].
psz_module
);
(
*
textctrl
)
<<
wx
L2
U
(
p_sub
->
p_msg
[
i_start
].
psz_module
);
switch
(
p_sub
->
p_msg
[
i_start
].
i_type
)
switch
(
p_sub
->
p_msg
[
i_start
].
i_type
)
{
{
...
@@ -180,7 +180,7 @@ void Messages::UpdateLog()
...
@@ -180,7 +180,7 @@ void Messages::UpdateLog()
}
}
/* Add message */
/* Add message */
(
*
textctrl
)
<<
wxU
(
p_sub
->
p_msg
[
i_start
].
psz_msg
)
<<
wxT
(
"
\n
"
);
(
*
textctrl
)
<<
wx
L2
U
(
p_sub
->
p_msg
[
i_start
].
psz_msg
)
<<
wxT
(
"
\n
"
);
}
}
vlc_mutex_lock
(
p_sub
->
p_lock
);
vlc_mutex_lock
(
p_sub
->
p_lock
);
...
...
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