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
ab3e1260
Commit
ab3e1260
authored
Sep 30, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: win32 fixes with new wxWidgets.
parent
49abe975
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+4
-0
modules/gui/wxwindows/preferences.cpp
modules/gui/wxwindows/preferences.cpp
+2
-0
modules/gui/wxwindows/wxwindows.cpp
modules/gui/wxwindows/wxwindows.cpp
+4
-1
No files found.
modules/gui/wxwindows/interface.cpp
View file @
ab3e1260
...
...
@@ -372,7 +372,11 @@ void Interface::CreateOurMenuBar()
#if defined(__WXGTK__)
22
/* approximate margin */
;
#else
#if (wxMAJOR_VERSION <= 2) && (wxMINOR_VERSION <= 5) && (wxRELEASE_NUMBER < 3)
4
/* approximate margin */
;
#else
15
/* approximate margin */
;
#endif
#endif
}
frame_sizer
->
SetMinSize
(
i_size
,
-
1
);
...
...
modules/gui/wxwindows/preferences.cpp
View file @
ab3e1260
...
...
@@ -705,6 +705,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
b_advanced
=
VLC_TRUE
;
SetAutoLayout
(
TRUE
);
Hide
();
wxBoxSizer
*
sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
...
...
@@ -814,6 +815,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
}
sizer
->
Layout
();
SetSizer
(
sizer
);
Show
();
}
void
PrefsPanel
::
ApplyChanges
()
...
...
modules/gui/wxwindows/wxwindows.cpp
View file @
ab3e1260
...
...
@@ -39,11 +39,14 @@
#include "wxwindows.h"
/* Temporary hack */
#if defined(WIN32) && defined(_WX_INIT_H_)
#if defined(WIN32) && defined(_WX_INIT_H_)
#if (wxMAJOR_VERSION <= 2) && (wxMINOR_VERSION <= 5) && (wxRELEASE_NUMBER < 3)
/* Hack to detect wxWindows 2.5 which has a different wxEntry() prototype */
extern
int
wxEntry
(
HINSTANCE
hInstance
,
HINSTANCE
hPrevInstance
=
NULL
,
char
*
pCmdLine
=
NULL
,
int
nCmdShow
=
SW_NORMAL
);
#endif
#endif
#ifdef SYS_DARWIN
int
wxEntry
(
int
argc
,
char
*
argv
[]
,
bool
enterLoop
=
TRUE
);
#endif
...
...
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