diff options
Diffstat (limited to 'plugins/CyrTranslit/src')
-rw-r--r-- | plugins/CyrTranslit/src/MirandaContact.cpp | 4 | ||||
-rw-r--r-- | plugins/CyrTranslit/src/MirandaContact.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp index 8bf9977dd5..d8b6907083 100644 --- a/plugins/CyrTranslit/src/MirandaContact.cpp +++ b/plugins/CyrTranslit/src/MirandaContact.cpp @@ -31,7 +31,7 @@ char *MirandaContact::MENU_ITEM_TEXT = LPGEN("&Transliterate (ÔÛÂÀ->FYVA)"); char *MirandaContact::MENU_COMMAND_CALLBACK_SERVICE
= "CyrTranslit/ContactMenuCmd";
-HANDLE MirandaContact::hTransliterateCmdMenuItem = 0;
+HGENMENU MirandaContact::hTransliterateCmdMenuItem = 0;
//------------------------------------------------------------------------------
@@ -101,7 +101,7 @@ int MirandaContact::onPreBuildContactMenu(WPARAM wParam, LPARAM lParam) if ( bIsActive(hContact))
mi.flags |= CMIF_CHECKED;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hTransliterateCmdMenuItem, (LPARAM)&mi);
+ Menu_ModifyItem(hTransliterateCmdMenuItem, &mi);
return 0;
}
diff --git a/plugins/CyrTranslit/src/MirandaContact.h b/plugins/CyrTranslit/src/MirandaContact.h index 3cf46ed10e..f6e3d558e0 100644 --- a/plugins/CyrTranslit/src/MirandaContact.h +++ b/plugins/CyrTranslit/src/MirandaContact.h @@ -93,7 +93,7 @@ private: * transliteration setting (on or off) is inverted for the contact owing the
* menu.
*/
- static HANDLE hTransliterateCmdMenuItem;
+ static HGENMENU hTransliterateCmdMenuItem;
/**
* @param wParam The HANDLE of the contact that owns the menu item being
|