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
c618906c
Commit
c618906c
authored
May 13, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/preferences.cpp: small fixes.
parent
33aec412
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
modules/gui/wxwindows/preferences.cpp
modules/gui/wxwindows/preferences.cpp
+5
-7
No files found.
modules/gui/wxwindows/preferences.cpp
View file @
c618906c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* preferences.cpp : wxWindows plugin for vlc
* preferences.cpp : wxWindows plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* Copyright (C) 2000-2001 VideoLAN
* $Id: preferences.cpp,v 1.1
4 2003/05/12 21:55:01
gbazin Exp $
* $Id: preferences.cpp,v 1.1
5 2003/05/13 11:44:53
gbazin Exp $
*
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
*
...
@@ -541,8 +541,6 @@ void PrefsTreeCtrl::CleanChanges()
...
@@ -541,8 +541,6 @@ void PrefsTreeCtrl::CleanChanges()
if
(
item
==
GetSelection
()
)
if
(
item
==
GetSelection
()
)
{
{
wxTreeEvent
event
;
wxTreeEvent
event
;
event
.
SetItem
(
item
);
OnSelectTreeItem
(
event
);
OnSelectTreeItem
(
event
);
}
}
}
}
...
@@ -577,8 +575,6 @@ void PrefsTreeCtrl::CleanChanges()
...
@@ -577,8 +575,6 @@ void PrefsTreeCtrl::CleanChanges()
if
(
item2
==
GetSelection
()
)
if
(
item2
==
GetSelection
()
)
{
{
wxTreeEvent
event
;
wxTreeEvent
event
;
event
.
SetItem
(
item2
);
OnSelectTreeItem
(
event
);
OnSelectTreeItem
(
event
);
}
}
}
}
...
@@ -601,7 +597,8 @@ void PrefsTreeCtrl::OnSelectTreeItem( wxTreeEvent& event )
...
@@ -601,7 +597,8 @@ void PrefsTreeCtrl::OnSelectTreeItem( wxTreeEvent& event )
p_sizer
->
Remove
(
config_data
->
panel
);
p_sizer
->
Remove
(
config_data
->
panel
);
}
}
config_data
=
(
ConfigTreeData
*
)
GetItemData
(
event
.
GetItem
()
);
/* Don't use event.GetItem() because we also send fake events */
config_data
=
(
ConfigTreeData
*
)
GetItemData
(
GetSelection
()
);
if
(
config_data
)
if
(
config_data
)
{
{
if
(
!
config_data
->
panel
)
if
(
!
config_data
->
panel
)
...
@@ -688,7 +685,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
...
@@ -688,7 +685,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
/* Now put all the config options into a scrolled window */
/* Now put all the config options into a scrolled window */
config_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
config_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
config_window
=
new
wxScrolledWindow
(
this
,
-
1
,
wxDefaultPosition
,
config_window
=
new
wxScrolledWindow
(
this
,
-
1
,
wxDefaultPosition
,
wxDefaultSize
);
wxDefaultSize
,
wxSTATIC_BORDER
|
wxHSCROLL
|
wxVSCROLL
);
config_window
->
SetAutoLayout
(
TRUE
);
config_window
->
SetAutoLayout
(
TRUE
);
config_window
->
SetScrollRate
(
5
,
5
);
config_window
->
SetScrollRate
(
5
,
5
);
...
@@ -928,6 +925,7 @@ void PrefsPanel::OnAdvanced( wxCommandEvent& WXUNUSED(event) )
...
@@ -928,6 +925,7 @@ void PrefsPanel::OnAdvanced( wxCommandEvent& WXUNUSED(event) )
config_sizer
->
Layout
();
config_sizer
->
Layout
();
config_window
->
FitInside
();
config_window
->
FitInside
();
config_window
->
Refresh
();
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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