summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-15 11:28:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-15 11:28:03 +0000
commit23785ec1a3fbf8a6c38739fa97f0687117eda1a1 (patch)
tree48ab34f9437c482c976750fa765dfb3bb49bdea2
parent9c3ce21be1a5628df92952356b16768dc20cc367 (diff)
unused m_popup2.h include
git-svn-id: http://svn.miranda-ng.org/main/trunk@4048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/TranslitSwitcher/src/Layoutproc.cpp14
-rw-r--r--plugins/TranslitSwitcher/src/TranslitSwitcher.h1
2 files changed, 3 insertions, 12 deletions
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 <m_msg_buttonsbar.h>
#include <m_smileyadd.h>
#include <m_ieview.h>
-#include <m_popup2.h>
#include "version.h"
#include "resource.h"