]> git.sesse.net Git - vlc/commitdiff
Disable intf-switch in the interface (Refs:#564) - Not working correctly, neither...
authorClément Stenac <zorglub@videolan.org>
Sun, 26 Feb 2006 14:23:16 +0000 (14:23 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 26 Feb 2006 14:23:16 +0000 (14:23 +0000)
modules/gui/wxwidgets/menus.cpp

index 2d00c10f79d724652635c68d468bed842073b9f1..6e40a5437825dcddce64f876e4c9f964ca4ac2f9 100644 (file)
@@ -259,9 +259,11 @@ void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
                                                 FIND_PARENT );
     if( p_object != NULL )
     {
+#if 0
 #if (wxCHECK_VERSION(2,5,0))
         ppsz_varnames[i] = "intf-switch";
         pi_objects[i++] = p_object->i_object_id;
+#endif
 #endif
         ppsz_varnames[i] = "intf-add";
         pi_objects[i++] = p_object->i_object_id;
@@ -510,9 +512,11 @@ wxMenu *SettingsMenu( intf_thread_t *_p_intf, wxWindow *p_parent,
                                                 FIND_PARENT );
     if( p_object != NULL )
     {
+#if 0
 #if (wxCHECK_VERSION(2,5,0))
         ppsz_varnames[i] = "intf-switch";
         pi_objects[i++] = p_object->i_object_id;
+#endif
 #endif
         ppsz_varnames[i] = "intf-add";
         pi_objects[i++] = p_object->i_object_id;