#include <vlc/intf.h>
+#include <vector>
+
#include "wxwindows.h"
#include "preferences_widgets.h"
if( b_advanced )
{
- wxPanel *dummy_panel = new wxPanel( this, -1 );
- sizer->Add( dummy_panel, 1 );
-
wxButton *button =
new wxButton( this, AdvancedOptions_Event,
wxU(_("Advanced options...")) );
while( p_item->i_type != CONFIG_HINT_END && p_item++ );
/* Separation */
- dummy_panel = new wxPanel( p_advanced_dialog, -1 );
+ wxPanel *dummy_panel = new wxPanel( p_advanced_dialog, -1 );
sizer->Add( dummy_panel, 1 );
wxStaticLine *static_line =
new wxStaticLine( p_advanced_dialog, wxID_OK );
break;
case 3: /* CD-DA */
- mrltemp = wxT("cdda://") + disc_device->GetValue();
+ mrltemp =
+#ifdef HAVE_CDDAX
+ wxT("cddax://")
+#else
+ wxT("cdda://")
+#endif
+ + disc_device->GetValue();
if( i_disc_title > 0 )
mrltemp += wxString::Format( wxT("@%d"), i_disc_title );
if( b_start )
{
- int i_pos = playlist_GetPositionById( p_playlist , i_id );
- playlist_Command( p_playlist, PLAYLIST_GOTO, i_pos );
+ playlist_Control( p_playlist, PLAYLIST_ITEMPLAY , p_item );
}
}