Changeset 1b481ca9d2d51916561ce699e8ed9340e19434a4

Show
Ignore:
Timestamp:
08/16/06 23:45:56 (2 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1155764756 +0000
git-parent:

[48031dcee045d4d3855154f0ec946f1672c728d5]

git-author:
Gildas Bazin <gbazin@videolan.org> 1155764756 +0000
Message:

* modules/gui/wxwidgets/dialogs/playlist.cpp: remove fprintf()s and compilation warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/wxwidgets/dialogs/playlist.cpp

    r4059579 r1b481ca  
    220220    p_playlist = (playlist_t *)vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST, 
    221221                                                FIND_ANYWHERE ); 
    222     msg_Err(p_intf, "p_playlist= 0x%x", p_playlist); 
    223222    if( p_playlist == NULL ) return; 
    224223 
     
    341340 
    342341    /* Create teh source selector */ 
    343     source_sel = new wxListCtrl( playlist_panel, Source_Event, 
    344                                 wxDefaultPosition, wxDefaultSize, 
    345                                 wxLC_AUTOARRANGE|wxLC_SINGLE_SEL ); 
     342    source_sel = new wxListView( playlist_panel, Source_Event, 
     343                                wxDefaultPosition, wxDefaultSize, 
     344                                wxLC_AUTOARRANGE|wxLC_SINGLE_SEL ); 
    346345 
    347346    /* Create the tree */ 
     
    13061305    for( size_t i = 0; i < filenames.GetCount(); i++ ) 
    13071306    { 
    1308         const char *psz_utf8 = wxDnDFromLocale( filenames[i] ); 
     1307        char *psz_utf8 = wxDnDFromLocale( filenames[i] ); 
    13091308        input_item_t *p_input = input_ItemNew( p->p_playlist, 
    13101309                                              psz_utf8, psz_utf8 ); 
     
    16561655    { 
    16571656        case UpdateItem_Event: 
    1658             fprintf( stderr,"Update input item id %i\n", event.GetInt() ); 
    16591657            UpdateItem( event.GetInt() ); 
    16601658            break; 
    16611659        case AppendItem_Event: 
    1662             fprintf( stderr,"Append item id %i\n", 
    1663                          ((playlist_add_t*)event.GetClientData())->i_item ); 
    16641660            AppendItem( event ); 
    16651661            break; 
    16661662        case RemoveItem_Event: 
    1667             fprintf( stderr,"Remove item id %i\n", event.GetInt() ); 
    16681663            RemoveItem( event.GetInt() ); 
    16691664            break;