Commit 62058240 authored by CHARRAS's avatar CHARRAS

change erronous word Hothey to Hotkey in 2 function names

parent 7e79113c
...@@ -594,7 +594,7 @@ wxString ReturnHotkeyConfigFilePath( int choice ) ...@@ -594,7 +594,7 @@ wxString ReturnHotkeyConfigFilePath( int choice )
/***************************************/ /***************************************/
void AddHotheyConfigMenu( wxMenu* menu ) void AddHotkeyConfigMenu( wxMenu* menu )
/***************************************/ /***************************************/
/* add hotkey config options to a menu /* add hotkey config options to a menu
...@@ -647,7 +647,7 @@ void AddHotheyConfigMenu( wxMenu* menu ) ...@@ -647,7 +647,7 @@ void AddHotheyConfigMenu( wxMenu* menu )
/************************************************************************/ /************************************************************************/
void HandleHotheyConfigMenuSelection( WinEDA_DrawFrame * frame, int id ) void HandleHotkeyConfigMenuSelection( WinEDA_DrawFrame * frame, int id )
/************************************************************************/ /************************************************************************/
/* called on hotkey file location selecton menu /* called on hotkey file location selecton menu
* @param frame = current WinEDA_DrawFrame * @param frame = current WinEDA_DrawFrame
......
/******************************************************/ /******************************************************/
/** eeconfig.cpp : routines et menus de configuration */ /** eeconfig.cpp : routines et menus de configuration */
/*******************************************************/ /*******************************************************/
#include "fctsys.h" #include "fctsys.h"
#include "common.h" #include "common.h"
...@@ -100,7 +100,7 @@ wxString FullFileName; ...@@ -100,7 +100,7 @@ wxString FullFileName;
case ID_PREFERENCES_HOTKEY_PATH_IS_HOME: case ID_PREFERENCES_HOTKEY_PATH_IS_HOME:
case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD: case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD:
HandleHotheyConfigMenuSelection( this, id ); HandleHotkeyConfigMenuSelection( this, id );
break; break;
default: default:
......
...@@ -165,7 +165,7 @@ wxString msg; ...@@ -165,7 +165,7 @@ wxString msg;
configmenu->Append(item); configmenu->Append(item);
configmenu->AppendSeparator(); configmenu->AppendSeparator();
AddHotheyConfigMenu( configmenu ); AddHotkeyConfigMenu( configmenu );
// Menu Help: // Menu Help:
wxMenu *helpMenu = new wxMenu; wxMenu *helpMenu = new wxMenu;
......
...@@ -69,7 +69,7 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event ) ...@@ -69,7 +69,7 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
case ID_PREFERENCES_HOTKEY_PATH_IS_HOME: case ID_PREFERENCES_HOTKEY_PATH_IS_HOME:
case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD: case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD:
HandleHotheyConfigMenuSelection( this, id ); HandleHotkeyConfigMenuSelection( this, id );
break; break;
default: default:
......
...@@ -124,7 +124,7 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void ) ...@@ -124,7 +124,7 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
_( "Save application preferences" ), save_setup_xpm ); _( "Save application preferences" ), save_setup_xpm );
configmenu->AppendSeparator(); configmenu->AppendSeparator();
AddHotheyConfigMenu( configmenu ); AddHotkeyConfigMenu( configmenu );
// Menu drill ( generation fichiers percage) // Menu drill ( generation fichiers percage)
......
...@@ -91,8 +91,8 @@ COMMON_GLOBL int g_ConfigFileLocationChoice; /* 0 = files are in Home directo ...@@ -91,8 +91,8 @@ COMMON_GLOBL int g_ConfigFileLocationChoice; /* 0 = files are in Home directo
/* Functions: /* Functions:
*/ */
wxString ReturnHotkeyConfigFilePath( int choice ); wxString ReturnHotkeyConfigFilePath( int choice );
void AddHotheyConfigMenu( wxMenu* menu ); void AddHotkeyConfigMenu( wxMenu* menu );
void HandleHotheyConfigMenuSelection( WinEDA_DrawFrame * frame, int id ); void HandleHotkeyConfigMenuSelection( WinEDA_DrawFrame * frame, int id );
wxString ReturnKeyNameFromKeyCode( int keycode ); wxString ReturnKeyNameFromKeyCode( int keycode );
wxString ReturnKeyNameFromCommandId( Ki_HotkeyInfo** List, int CommandId ); wxString ReturnKeyNameFromCommandId( Ki_HotkeyInfo** List, int CommandId );
wxString AddHotkeyName( const wxString& text, Ki_HotkeyInfo** List, int CommandId ); wxString AddHotkeyName( const wxString& text, Ki_HotkeyInfo** List, int CommandId );
......
...@@ -184,7 +184,7 @@ wxMenuBar * menuBar = GetMenuBar(); ...@@ -184,7 +184,7 @@ wxMenuBar * menuBar = GetMenuBar();
configmenu->Append(item); configmenu->Append(item);
configmenu->AppendSeparator(); configmenu->AppendSeparator();
AddHotheyConfigMenu( configmenu ); AddHotkeyConfigMenu( configmenu );
///////////////////////////// /////////////////////////////
// Ajustage de dimensions: // // Ajustage de dimensions: //
......
...@@ -108,7 +108,7 @@ wxString FullFileName; ...@@ -108,7 +108,7 @@ wxString FullFileName;
case ID_PREFERENCES_HOTKEY_PATH_IS_HOME: case ID_PREFERENCES_HOTKEY_PATH_IS_HOME:
case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD: case ID_PREFERENCES_HOTKEY_PATH_IS_KICAD:
HandleHotheyConfigMenuSelection( this, id ); HandleHotkeyConfigMenuSelection( this, id );
break; break;
default: default:
......
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