From 4ba9c10fa00482b9e9d8b54812b49ecf60cee95e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Jun 2015 13:04:28 +0000 Subject: obsoleted constants CMIF_ROOTPOPUP & CMIF_CHILDPOPUP replaced with CMIF_ROOTHANDLE git-svn-id: http://svn.miranda-ng.org/main/trunk@14350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/Forex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Quotes/src') diff --git a/plugins/Quotes/src/Forex.cpp b/plugins/Quotes/src/Forex.cpp index d565deff7a..c51d077bb7 100644 --- a/plugins/Quotes/src/Forex.cpp +++ b/plugins/Quotes/src/Forex.cpp @@ -85,7 +85,7 @@ namespace { CLISTMENUITEM mi = { 0 }; mi.ptszName = LPGENT("Quotes"); - mi.flags = CMIF_TCHAR | CMIF_ROOTPOPUP; + mi.flags = CMIF_TCHAR | CMIF_ROOTHANDLE; mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_MAIN); HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi); @@ -143,7 +143,7 @@ namespace { mi.pszPopupName = (char *)-1; mi.icolibItem = Quotes_GetIconHandle(IDI_ICON_MAIN); - mi.flags = CMIF_TCHAR | CMIF_ROOTPOPUP; + mi.flags = CMIF_TCHAR | CMIF_ROOTHANDLE; tstring sProtocolName = quotes_a2t(QUOTES_PROTOCOL_NAME); mi.ptszName = const_cast(sProtocolName.c_str());//A2T(QUOTES_PROTOCOL_NAME); mi.position = 0; @@ -154,7 +154,7 @@ namespace mi.flags = CMIF_TCHAR; if (bSubGroups) { - mi.flags |= CMIF_CHILDPOPUP; + mi.flags |= CMIF_ROOTHANDLE; mi.pszPopupName = (char*)hMenuRoot; } -- cgit v1.2.3