From 59cd198e89782263777c57dcd54704ecb1e10212 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jun 2015 17:41:48 +0000 Subject: finally CLISTEVENT removed completely git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhenWasIt/src/WhenWasIt.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/WhenWasIt/src') diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index d2c224f0c8..0f629bad44 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -72,41 +72,41 @@ extern "C" int __declspec(dllexport) Load(void) hAddBirthdayWndsList = WindowList_Create(); - CLISTMENUITEM mi = { 0 }; + TMO_MenuItem mi = { 0 }; mi.position = 10000000; - mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENT("Birthdays (When Was It)"), mi.position); + mi.root = Menu_CreateRoot(MO_MAIN, LPGENT("Birthdays (When Was It)"), mi.position); mi.pszService = MS_WWI_CHECK_BIRTHDAYS; - mi.icolibItem = hCheckMenu; + mi.hIcolibItem = hCheckMenu; mi.name.a = LPGEN("Check for birthdays"); Menu_AddMainMenuItem(&mi); mi.pszService = MS_WWI_LIST_SHOW; mi.name.a = LPGEN("Birthday list"); - mi.icolibItem = hListMenu; + mi.hIcolibItem = hListMenu; Menu_AddMainMenuItem(&mi); mi.pszService = MS_WWI_REFRESH_USERDETAILS; mi.position = 10100000; mi.name.a = LPGEN("Refresh user details"); - mi.icolibItem = hRefreshUserDetails; + mi.hIcolibItem = hRefreshUserDetails; Menu_AddMainMenuItem(&mi); mi.pszService = MS_WWI_IMPORT_BIRTHDAYS; mi.position = 10200000; mi.name.a = LPGEN("Import birthdays"); - mi.icolibItem = hImportBirthdays; + mi.hIcolibItem = hImportBirthdays; Menu_AddMainMenuItem(&mi); mi.pszService = MS_WWI_EXPORT_BIRTHDAYS; mi.name.a = LPGEN("Export birthdays"); - mi.icolibItem = hExportBirthdays; + mi.hIcolibItem = hExportBirthdays; Menu_AddMainMenuItem(&mi); - mi.hParentMenu = 0; + mi.root = 0; mi.pszService = MS_WWI_ADD_BIRTHDAY; mi.position = 10000000; - mi.icolibItem = hAddBirthdayContact; + mi.hIcolibItem = hAddBirthdayContact; mi.name.a = LPGEN("Add/change user &birthday"); Menu_AddContactMenuItem(&mi); -- cgit v1.2.3