Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
9c964adb
Commit
9c964adb
authored
Jul 29, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* minor core cleanup and WX compilation fix
parent
76d75d3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
modules/gui/wxwidgets/dialogs/interaction.cpp
modules/gui/wxwidgets/dialogs/interaction.cpp
+1
-10
src/interface/interaction.c
src/interface/interaction.c
+8
-5
No files found.
modules/gui/wxwidgets/dialogs/interaction.cpp
View file @
9c964adb
...
...
@@ -166,16 +166,7 @@ void InteractionDialog::Render()
}
//-------------- Buttons ------------------
if
(
p_dialog
->
i_flags
&
DIALOG_OK_CANCEL
)
{
wxButton
*
ok
=
new
wxButton
(
buttons_panel
,
wxID_OK
,
wxU
(
_
(
"&OK"
)
)
);
wxButton
*
cancel
=
new
wxButton
(
buttons_panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
)
)
);
buttons_sizer
->
AddButton
(
ok
);
buttons_sizer
->
AddButton
(
cancel
);
}
else
if
(
p_dialog
->
i_flags
&
DIALOG_YES_NO_CANCEL
)
if
(
p_dialog
->
i_flags
&
DIALOG_YES_NO_CANCEL
)
{
wxButton
*
yes
=
new
wxButton
(
buttons_panel
,
wxID_YES
,
wxU
(
_
(
"&Yes"
)
)
);
...
...
src/interface/interaction.c
View file @
9c964adb
...
...
@@ -222,6 +222,11 @@ void intf_InteractionManage( playlist_t *p_playlist )
sizeof( interaction_dialog_t ) ); \
new->psz_title = NULL; \
new->psz_description = NULL; \
new->psz_defaultButton = NULL; \
new->psz_alternateButton = NULL; \
new->psz_otherButton = NULL; \
new->i_timeToGo = 0; \
new->b_cancelled = VLC_FALSE; \
new->p_private = NULL; \
new->i_id = 0; \
new->i_flags = 0; \
...
...
@@ -739,13 +744,11 @@ static interaction_dialog_t *intf_InteractionGetById( vlc_object_t* p_this,
static
void
intf_InteractionDialogDestroy
(
interaction_dialog_t
*
p_dialog
)
{
/* FREE( p_dialog->val.psz_string );
FREE
(
p_dialog
->
psz_title
);
FREE
(
p_dialog
->
psz_description
);
FREE( p_dialog->psz_
returned[0]
);
FREE( p_dialog->psz_
returned[1] ); */
FREE
(
p_dialog
->
psz_defaultButton
);
FREE
(
p_dialog
->
psz_
alternateButton
);
FREE
(
p_dialog
->
psz_
otherButton
);
free
(
p_dialog
);
}
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