]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwindows/playlist.cpp
* Made the open dialog a wxDialog to be able to call it from the wizard. Please test...
[vlc] / modules / gui / wxwindows / playlist.cpp
index 4feee43c1df2d7076933a3c05b6ac7861dcf5512..73ea44750c46506736ff4701766608a244231a7c 100644 (file)
@@ -358,7 +358,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
     main_sizer->Layout();
     SetSizerAndFit( main_sizer );
 
-#if !defined(__WXX11__) && !defined(__WXMOTIF__)
+#if wxUSE_DRAG_AND_DROP
     /* Associate drop targets with the playlist */
     SetDropTarget( new DragAndDrop( p_intf, VLC_TRUE ) );
 #endif