Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
a4a0388b
Commit
a4a0388b
authored
Apr 27, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: drag&drop is not supported on __WXMOTIF__.
parent
7190da5b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+4
-4
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+1
-1
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+1
-1
No files found.
modules/gui/wxwindows/interface.cpp
View file @
a4a0388b
...
...
@@ -275,7 +275,7 @@ Interface::Interface( intf_thread_t *_p_intf ):
frame_sizer
->
Layout
();
frame_sizer
->
Fit
(
this
);
#if !defined(__WXX11__)
#if !defined(__WXX11__)
&& !defined(__WXMOTIF__)
/* Associate drop targets with the main interface */
SetDropTarget
(
new
DragAndDrop
(
p_intf
)
);
#endif
...
...
@@ -390,7 +390,7 @@ void Interface::CreateOurMenuBar()
/* Intercept all menu events in our custom event handler */
PushEventHandler
(
new
MenuEvtHandler
(
p_intf
,
this
)
);
#if !defined(__WXX11__)
#if !defined(__WXX11__)
&& !defined(__WXMOTIF__)
/* Associate drop targets with the menubar */
menubar
->
SetDropTarget
(
new
DragAndDrop
(
p_intf
)
);
#endif
...
...
@@ -478,7 +478,7 @@ void Interface::CreateOurToolBar()
toolbar
->
Realize
();
#if !defined(__WXX11__)
#if !defined(__WXX11__)
&& !defined(__WXMOTIF__)
/* Associate drop targets with the toolbar */
toolbar
->
SetDropTarget
(
new
DragAndDrop
(
p_intf
)
);
#endif
...
...
@@ -1310,7 +1310,7 @@ void Interface::TogglePlayButton( int i_playing_status )
i_old_playing_status
=
i_playing_status
;
}
#if !defined(__WXX11__)
#if !defined(__WXX11__)
&& !defined(__WXMOTIF__)
/*****************************************************************************
* Definition of DragAndDrop class.
*****************************************************************************/
...
...
modules/gui/wxwindows/playlist.cpp
View file @
a4a0388b
...
...
@@ -358,7 +358,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
main_sizer
->
Layout
();
SetSizerAndFit
(
main_sizer
);
#if !defined(__WXX11__)
#if !defined(__WXX11__)
&& !defined(__WXMOTIF__)
/* Associate drop targets with the playlist */
SetDropTarget
(
new
DragAndDrop
(
p_intf
,
VLC_TRUE
)
);
#endif
...
...
modules/gui/wxwindows/wxwindows.h
View file @
a4a0388b
...
...
@@ -819,7 +819,7 @@ private:
};
#if !defined(__WXX11__)
#if !defined(__WXX11__)
&& !defined(__WXMOTIF__)
/* Drag and Drop class */
class
DragAndDrop
:
public
wxFileDropTarget
{
...
...
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