From 23785ec1a3fbf8a6c38739fa97f0687117eda1a1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Mar 2013 11:28:03 +0000 Subject: unused m_popup2.h include git-svn-id: http://svn.miranda-ng.org/main/trunk@4048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TranslitSwitcher/src/Layoutproc.cpp | 14 +++----------- plugins/TranslitSwitcher/src/TranslitSwitcher.h | 1 - 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'plugins/TranslitSwitcher') diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index a2fac0f830..6cd5342ad5 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -483,22 +483,14 @@ VOID SwitchLayout(BOOL lastword) if (smileyPrs != NULL) CallService(MS_SMILEYADD_BATCHFREE, 0, (LPARAM)smileyPrs); - POPUPDATAT_V2 pd; - ZeroMemory(&pd, sizeof(pd)); - pd.cbSize = sizeof(POPUPDATAT_V2); - pd.lchContact = NULL; //(HANDLE)wParam; + POPUPDATAT pd = { 0 }; pd.lchIcon = Skin_GetIcon("Switch Layout and Send"); lstrcpyn(pd.lptzText, buf, SIZEOF(pd.lptzText)); lstrcpyn(pd.lptzContactName, TranslateT("TranslitSwitcher"), SIZEOF(pd.lptzContactName)); - pd.colorBack = pd.colorText = 0; - pd.iSeconds = 0; - CallService(MS_POPUP_ADDPOPUPT, (WPARAM) &pd, 0); - - //PUShowMessageT(buf, SM_NOTIFY); + PUAddPopUpT(&pd); } } - else - if(lstrcmp(szClassName, _T("RichEdit20W")) == 0) + else if(lstrcmp(szClassName, _T("RichEdit20W")) == 0) { DWORD dwStart, dwEnd; int i, slen, start = 0, end = 0; diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.h b/plugins/TranslitSwitcher/src/TranslitSwitcher.h index 6bcb9dab3b..20dc5c9ae4 100644 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.h +++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.h @@ -36,7 +36,6 @@ Boston, MA 02111-1307, USA. #include #include #include -#include #include "version.h" #include "resource.h" -- cgit v1.2.3