* interface.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: interface.cpp,v 1.55 2003/08/14 19:25:56 sigmunau Exp $
+ * $Id: interface.cpp,v 1.56 2003/08/22 08:06:25 asmax Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
* version because we don't include wx.rc */
wxToolBar *toolbar = CreateToolBar(
- wxTB_HORIZONTAL | wxTB_FLAT | wxTB_DOCKABLE );
+ wxTB_HORIZONTAL | wxTB_FLAT | wxTB_DOCKABLE );
toolbar->SetToolBitmapSize( wxSize(TOOLBAR_BMP_WIDTH,TOOLBAR_BMP_HEIGHT) );
void Interface::UpdateAcceleratorTable()
{
/* Set some hotkeys */
- wxAcceleratorEntry entries[6];
+ wxAcceleratorEntry entries[7];
int i_key = config_GetInt( p_intf, "quit-key" );
int i = 0;
entries[i++].Set( ConvertHotkeyModifiers( i_key ), ConvertHotkey( i_key ),
entries[i++].Set( ConvertHotkeyModifiers( i_key ), ConvertHotkey( i_key ),
SlowStream_Event );
- wxAcceleratorTable accel( 6, entries );
+ wxAcceleratorTable accel( 7, entries );
if( !accel.Ok() )
msg_Err( p_intf, "invalid accelerator table" );
* wxwindows.h: private wxWindows interface description
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: wxwindows.h,v 1.55 2003/08/20 19:17:29 adn Exp $
+ * $Id: wxwindows.h,v 1.56 2003/08/22 08:06:25 asmax Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
case KEY_PAGEDOWN: return WXK_NEXT;
case KEY_TAB: return WXK_TAB;
case KEY_BACKSPACE: return WXK_BACK;
- default:
- return 0;
}
}
+ return 0;
}