From 737d05018bbc2da54414bea0c2ccce6f1e15bde2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 17:14:39 +0300 Subject: Hotkey_Register => CMPlugin::addHotkey --- plugins/SmileyAdd/src/dlgboxsubclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SmileyAdd/src') diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 378a68688f..509862ec3f 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -156,7 +156,7 @@ int SmileyButtonCreate(WPARAM, LPARAM) desc.szDescription.a = LPGEN("Smiley selector"); desc.DefHotKey = HOTKEYCODE(HOTKEYF_ALT, 'E'); desc.lParam = LPARAM(g_plugin.getInst()); - Hotkey_Register(&desc); + g_plugin.addHotkey(&desc); BBButton bbd = {}; bbd.pszModuleName = MODULENAME; -- cgit v1.2.3