]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/dialogs/updatevlc.cpp
use a pointer to a function instead of a callback
[vlc] / modules / gui / wxwidgets / dialogs / updatevlc.cpp
index 88eb5e0eaa984f0b7421558c99299f5b4763a8a5..68100057075d48a3a15d6f174738866dec159437 100644 (file)
@@ -100,7 +100,7 @@ void UpdateVLC::OnClose( wxCloseEvent& WXUNUSED(event) )
 
 void UpdateVLC::OnCheckForUpdate( wxCommandEvent& event )
 {
-    update_Check( p_update );
+    update_Check( p_update, NULL, this );
     wxBoxSizer *main_sizer = new wxBoxSizer( wxVERTICAL );
 
     DestroyChildren();