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

Disable intf-switch in the interface (Refs:#564) - Not working correctly, neither on win32 nor GTK

parent edb8ad29
...@@ -259,9 +259,11 @@ void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent, ...@@ -259,9 +259,11 @@ void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
FIND_PARENT ); FIND_PARENT );
if( p_object != NULL ) if( p_object != NULL )
{ {
#if 0
#if (wxCHECK_VERSION(2,5,0)) #if (wxCHECK_VERSION(2,5,0))
ppsz_varnames[i] = "intf-switch"; ppsz_varnames[i] = "intf-switch";
pi_objects[i++] = p_object->i_object_id; pi_objects[i++] = p_object->i_object_id;
#endif
#endif #endif
ppsz_varnames[i] = "intf-add"; ppsz_varnames[i] = "intf-add";
pi_objects[i++] = p_object->i_object_id; pi_objects[i++] = p_object->i_object_id;
...@@ -510,9 +512,11 @@ wxMenu *SettingsMenu( intf_thread_t *_p_intf, wxWindow *p_parent, ...@@ -510,9 +512,11 @@ wxMenu *SettingsMenu( intf_thread_t *_p_intf, wxWindow *p_parent,
FIND_PARENT ); FIND_PARENT );
if( p_object != NULL ) if( p_object != NULL )
{ {
#if 0
#if (wxCHECK_VERSION(2,5,0)) #if (wxCHECK_VERSION(2,5,0))
ppsz_varnames[i] = "intf-switch"; ppsz_varnames[i] = "intf-switch";
pi_objects[i++] = p_object->i_object_id; pi_objects[i++] = p_object->i_object_id;
#endif
#endif #endif
ppsz_varnames[i] = "intf-add"; ppsz_varnames[i] = "intf-add";
pi_objects[i++] = p_object->i_object_id; pi_objects[i++] = p_object->i_object_id;
......
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