Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
14e5cb30
Commit
14e5cb30
authored
Mar 28, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix update dialog layout in Windows
parent
5681d3be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
modules/gui/wxwidgets/dialogs/updatevlc.cpp
modules/gui/wxwidgets/dialogs/updatevlc.cpp
+3
-2
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/interface.cpp
+0
-2
No files found.
modules/gui/wxwidgets/dialogs/updatevlc.cpp
View file @
14e5cb30
...
...
@@ -64,7 +64,8 @@ END_EVENT_TABLE()
UpdateVLC
::
UpdateVLC
(
intf_thread_t
*
_p_intf
,
wxWindow
*
p_parent
)
:
wxFrame
(
p_parent
,
-
1
,
wxU
(
_
(
"VLC media player - Updates"
)),
wxDefaultPosition
,
wxDefaultSize
,
wxSYSTEM_MENU
|
wxCLOSE_BOX
|
wxFRAME_FLOAT_ON_PARENT
|
wxFRAME_TOOL_WINDOW
)
wxSYSTEM_MENU
|
wxCLOSE_BOX
|
wxFRAME_FLOAT_ON_PARENT
|
wxFRAME_TOOL_WINDOW
|
wxCAPTION
)
{
/* Initializations */
p_intf
=
_p_intf
;
...
...
@@ -115,7 +116,7 @@ void UpdateVLC::OnCheckForUpdate( wxCommandEvent& event )
wxListCtrl
*
list
=
new
wxListCtrl
(
this
,
ChooseItem_Event
,
wxDefaultPosition
,
wxSize
(
400
,
300
),
wxLC_
AUTOARRANGE
|
wxLC_SINGLE_SEL
);
wxLC_
SINGLE_SEL
|
wxLC_LIST
);
wxImageList
*
images
=
new
wxImageList
(
32
,
32
,
TRUE
);
images
->
Add
(
wxIcon
(
update_ascii_xpm
)
);
images
->
Add
(
wxIcon
(
update_info_xpm
)
);
...
...
modules/gui/wxwidgets/interface.cpp
View file @
14e5cb30
...
...
@@ -603,10 +603,8 @@ void Interface::CreateOurMenuBar()
/* Create the "Help" menu */
wxMenu
*
help_menu
=
new
wxMenu
;
help_menu
->
Append
(
About_Event
,
wxU
(
_
(
"About VLC media player"
))
);
#ifndef WIN32
help_menu
->
AppendSeparator
();
help_menu
->
Append
(
UpdateVLC_Event
,
wxU
(
_
(
"Check for updates ..."
))
);
#endif
/* Append the freshly created menus to the menu bar... */
wxMenuBar
*
menubar
=
new
wxMenuBar
();
...
...
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