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
9f61c50e
Commit
9f61c50e
authored
Apr 10, 2004
by
Anil Daoud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* compilation fixes
parent
4ce12640
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
modules/gui/wxwindows/wizard.cpp
modules/gui/wxwindows/wizard.cpp
+19
-19
No files found.
modules/gui/wxwindows/wizard.cpp
View file @
9f61c50e
...
...
@@ -558,9 +558,9 @@ wizHelloPage::wizHelloPage( wxWizard *parent) : wxWizardPageSimple(parent)
/* Create the radio buttons with their helps */
action_radios
[
0
]
=
new
wxRadioButton
(
this
,
ActionRadio0_Event
,
wx
T
(
HELLO_STREAMING
)
);
wx
U
(
HELLO_STREAMING
)
);
action_radios
[
1
]
=
new
wxRadioButton
(
this
,
ActionRadio1_Event
,
wx
T
(
HELLO_TRANSCODE
)
);
wx
U
(
HELLO_TRANSCODE
)
);
i_action
=
0
;
mainSizer
->
Add
(
action_radios
[
0
],
0
,
wxALL
,
5
);
...
...
@@ -618,10 +618,10 @@ wizInputPage::wizInputPage( wxWizard *parent, wxWizardPage *prev, intf_thread_t
/* Create the radio buttons */
input_radios
[
0
]
=
new
wxRadioButton
(
this
,
InputRadio0_Event
,
wx
T
(
INPUT_OPEN
)
);
wx
U
(
INPUT_OPEN
)
);
mainSizer
->
Add
(
input_radios
[
0
],
0
,
wxALL
,
5
);
input_radios
[
1
]
=
new
wxRadioButton
(
this
,
InputRadio1_Event
,
wx
T
(
INPUT_PL
)
);
wx
U
(
INPUT_PL
)
);
i_input
=
0
;
mainSizer
->
Add
(
input_radios
[
1
],
0
,
wxALL
,
5
);
...
...
@@ -714,9 +714,9 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event)
{
if
(
i_input
==
0
)
{
if
(
mrl_text
->
GetValue
().
IsSameAs
(
""
,
TRUE
)
&&
event
.
GetDirection
()
)
if
(
mrl_text
->
GetValue
().
IsSameAs
(
wxT
(
""
)
,
TRUE
)
&&
event
.
GetDirection
()
)
{
wxMessageBox
(
wxU
(
CHOOSE_STREAM
),
ERROR
,
wxMessageBox
(
wxU
(
CHOOSE_STREAM
),
wxU
(
ERROR
)
,
wxICON_WARNING
|
wxOK
,
this
);
event
.
Veto
();
}
...
...
@@ -735,7 +735,7 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event)
listitem
.
SetId
(
i
);
listitem
.
SetColumn
(
1
);
listview
->
GetItem
(
listitem
);
p_parent
->
SetMrl
(
(
const
char
*
)
listitem
.
GetText
()
);
p_parent
->
SetMrl
(
(
const
char
*
)
listitem
.
GetText
().
c_str
()
);
}
}
return
;
...
...
@@ -807,7 +807,7 @@ wizTranscodeCodecPage::wizTranscodeCodecPage( wxWizard *parent,
wxDefaultPosition
,
wxSize
(
200
,
25
)
);
for
(
int
i
=
0
;
vcodecs_array
[
i
].
psz_display
!=
NULL
;
i
++
)
{
video_combo
->
Append
(
wx
T
(
vcodecs_array
[
i
].
psz_display
)
,
video_combo
->
Append
(
wx
U
(
vcodecs_array
[
i
].
psz_display
)
,
(
void
*
)
&
vcodecs_array
[
i
]
);
}
video_sizer2
->
Add
(
video_combo
,
0
,
wxALIGN_RIGHT
);
...
...
@@ -836,7 +836,7 @@ wizTranscodeCodecPage::wizTranscodeCodecPage( wxWizard *parent,
wxDefaultPosition
,
wxSize
(
200
,
25
)
);
for
(
int
i
=
0
;
acodecs_array
[
i
].
psz_display
!=
NULL
;
i
++
)
{
audio_combo
->
Append
(
wx
T
(
acodecs_array
[
i
].
psz_display
)
,
audio_combo
->
Append
(
wx
U
(
acodecs_array
[
i
].
psz_display
)
,
(
void
*
)
&
acodecs_array
[
i
]
);
}
audio_sizer2
->
Add
(
audio_combo
,
0
,
wxALIGN_RIGHT
);
...
...
@@ -983,7 +983,7 @@ wizStreamingMethodPage::wizStreamingMethodPage( wxWizard *parent,
for
(
i
=
0
;
i
<
3
;
i
++
)
{
method_radios
[
i
]
=
new
wxRadioButton
(
this
,
MethodRadio0_Event
+
i
,
wx
T
(
methods_array
[
i
].
psz_method
)
);
wx
U
(
methods_array
[
i
].
psz_method
)
);
method_radios
[
i
]
->
SetToolTip
(
wxU
(
_
(
methods_array
[
i
].
psz_descr
)
)
);
mainSizer
->
Add
(
method_radios
[
i
],
0
,
wxALL
,
5
);
}
...
...
@@ -1006,9 +1006,9 @@ void wizStreamingMethodPage::OnWizardPageChanging(wxWizardEvent& event)
if
(
!
event
.
GetDirection
()
)
return
;
/* Check valid multicast address */
if
(
i_method
==
1
&&
!
ismult
((
char
*
)
address_txtctrl
->
GetValue
().
mb
_str
())
)
if
(
i_method
==
1
&&
!
ismult
((
char
*
)
address_txtctrl
->
GetValue
().
c
_str
())
)
{
wxMessageBox
(
wxU
(
INVALID_MCAST_ADDRESS
)
,
ERROR
,
wxMessageBox
(
wxU
(
INVALID_MCAST_ADDRESS
)
,
wxU
(
ERROR
)
,
wxICON_WARNING
|
wxOK
,
this
);
event
.
Veto
();
...
...
@@ -1023,7 +1023,7 @@ void wizStreamingMethodPage::OnWizardPageChanging(wxWizardEvent& event)
}
}
p_parent
->
SetStream
(
methods_array
[
i_method
].
psz_access
,
(
char
*
)
address_txtctrl
->
GetValue
().
mb
_str
()
);
(
char
*
)
address_txtctrl
->
GetValue
().
c
_str
()
);
return
;
}
...
...
@@ -1148,10 +1148,10 @@ wizTranscodeExtraPage::wizTranscodeExtraPage( wxWizard *parent,
wxBoxSizer
*
mainSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
/* Create the texts */
mainSizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
EXTRATRANSCODE_TITLE
),
mainSizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
EXTRATRANSCODE_TITLE
)
),
0
,
wxALL
,
5
);
mainSizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
vlc_wraptext
(
EXTRATRANSCODE_TEXT
,
TEXTWIDTH
,
wxU
(
vlc_wraptext
(
EXTRATRANSCODE_TEXT
,
TEXTWIDTH
,
false
)
)
),
0
,
wxALL
,
5
);
mainSizer
->
Add
(
new
wxButton
(
this
,
Open_Event
,
wxU
(
"Open"
)
)
);
SetSizer
(
mainSizer
);
...
...
@@ -1168,7 +1168,7 @@ void wizTranscodeExtraPage::OnSelectFile( wxCommandEvent &event)
if
(
file_dialog
->
GetFilename
().
mb_str
()
)
{
p_parent
->
SetTranscodeOut
(
(
char
*
)
file_dialog
->
GetFilename
().
mb
_str
()
);
c
_str
()
);
}
}
...
...
@@ -1188,7 +1188,7 @@ wizStreamingExtraPage::wizStreamingExtraPage( wxWizard *parent,
wxBoxSizer
*
mainSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
/* Create the texts */
mainSizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
EXTRASTREAMING_TITLE
),
mainSizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
EXTRASTREAMING_TITLE
)
),
0
,
wxALL
,
5
);
mainSizer
->
Add
(
new
wxStaticText
(
this
,
-
1
,
wxU
(
vlc_wraptext
(
EXTRASTREAMING_TEXT
,
TEXTWIDTH
,
...
...
@@ -1213,7 +1213,7 @@ wizStreamingExtraPage *st_page2;
wizEncapPage
*
encap_page
;
WizardDialog
::
WizardDialog
(
intf_thread_t
*
_p_intf
,
wxWindow
*
_p_parent
)
:
wxWizard
(
_p_parent
,
-
1
,
_
(
"Streaming/Transcoding wizard"
),
wxNullBitmap
,
wxDefaultPosition
)
wxWizard
(
_p_parent
,
-
1
,
wxU
(
_
(
"Streaming/Transcoding wizard"
)
),
wxNullBitmap
,
wxDefaultPosition
)
{
/* Initializations */
p_intf
=
_p_intf
;
...
...
@@ -1375,7 +1375,7 @@ void WizardDialog::Run()
}
else
{
wxMessageBox
(
wxU
(
NO_PLAYLIST
),
ERROR
,
wxMessageBox
(
wxU
(
NO_PLAYLIST
),
wxU
(
ERROR
)
,
wxICON_WARNING
|
wxOK
,
this
);
}
}
...
...
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