X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fwxwidgets%2Fdialogs%2Fwizard.cpp;h=9a677355d040271d6c97898002d463fa55419f8b;hb=ba6501f3084682844e7ee87bad3986bced5f3652;hp=ce38db132d7c59f205a65892d4d94dac424c85c2;hpb=d11fd0d1e5433a5299fbf0f0150178178ebd3f83;p=vlc diff --git a/modules/gui/wxwidgets/dialogs/wizard.cpp b/modules/gui/wxwidgets/dialogs/wizard.cpp index ce38db132d..9a677355d0 100644 --- a/modules/gui/wxwidgets/dialogs/wizard.cpp +++ b/modules/gui/wxwidgets/dialogs/wizard.cpp @@ -577,7 +577,7 @@ wizInputPage::wizInputPage( wxWizard *parent, wxWizardPage *prev, intf_thread_t openSizer->Fit(open_panel); mainSizer->Add( open_panel ); - playlist_t *p_playlist = pl_Yield( p_intf ); + playlist_t *p_playlist = pl_Hold( p_intf ); if( p_playlist ) { if( !playlist_IsEmpty( p_playlist ) ) @@ -715,7 +715,7 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event) if( i != -1 ) { long data = listview->GetItemData( i ); - playlist_t *p_playlist = pl_Yield( p_intf ); + playlist_t *p_playlist = pl_Hold( p_intf ); if( p_playlist ) { playlist_item_t * p_item = playlist_ItemGetById( p_playlist, (int)data, false ); @@ -1606,7 +1606,7 @@ void WizardDialog::Run() free( psz_sap_option ); } - playlist_t *p_playlist = pl_Yield( p_intf ); + playlist_t *p_playlist = pl_Hold( p_intf ); if( p_playlist ) { input_item_t *p_input = input_item_New( p_playlist, mrl,