Commit fd195152 authored by Clément Stenac's avatar Clément Stenac

Fix images order

parent 1f693518
...@@ -343,12 +343,15 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ): ...@@ -343,12 +343,15 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
/* Create image list */ /* Create image list */
wxImageList *p_images = new wxImageList( 16 , 16, TRUE ); wxImageList *p_images = new wxImageList( 16 , 16, TRUE );
/* FIXME: absolutely needs to be in the right order FIXME */
p_images->Add( wxIcon( type_unknown_xpm ) );
p_images->Add( wxIcon( type_unknown_xpm ) ); p_images->Add( wxIcon( type_unknown_xpm ) );
p_images->Add( wxIcon( type_disc_xpm ) );
p_images->Add( wxIcon( type_directory_xpm ) ); p_images->Add( wxIcon( type_directory_xpm ) );
p_images->Add( wxIcon( type_playlist_xpm ) ); p_images->Add( wxIcon( type_disc_xpm ) );
p_images->Add( wxIcon( type_net_xpm ) );
p_images->Add( wxIcon( type_card_xpm ) ); p_images->Add( wxIcon( type_card_xpm ) );
p_images->Add( wxIcon( type_net_xpm ) );
p_images->Add( wxIcon( type_playlist_xpm ) );
treectrl->AssignImageList( p_images ); treectrl->AssignImageList( p_images );
treectrl->AddRoot( wxU(_("root" )), -1, -1, NULL ); treectrl->AddRoot( wxU(_("root" )), -1, -1, NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment