diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-26 21:22:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-26 21:22:43 +0000 |
commit | c5bc8f21d5b87482f737c5ca64a4d46ebe7a2497 (patch) | |
tree | c13b62a3f1224750108aa33919ef6f9a32a2767d /plugins/YAMN/proto/pop3/pop3opt.h | |
parent | 17f839d0a607c05ae390d6306d81ecea19c7ea45 (diff) |
YAMN became partially Unicode
git-svn-id: http://svn.miranda-ng.org/main/trunk@186 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN/proto/pop3/pop3opt.h')
-rw-r--r-- | plugins/YAMN/proto/pop3/pop3opt.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/plugins/YAMN/proto/pop3/pop3opt.h b/plugins/YAMN/proto/pop3/pop3opt.h index 291ff03efd..c828c221e0 100644 --- a/plugins/YAMN/proto/pop3/pop3opt.h +++ b/plugins/YAMN/proto/pop3/pop3opt.h @@ -14,12 +14,6 @@ BOOL DlgShowAccount(HWND hDlg,WPARAM wParam,LPARAM lParam); //Sets colors to match colors of actual account
BOOL DlgShowAccountColors(HWND hDlg,WPARAM wParam,LPARAM lParam);
-//Sets dialog item text
-BOOL DlgSetItemText(HWND hDlg,WPARAM wParam,LPARAM lParam);
-
-//Sets dialog item text in Unicode
-BOOL DlgSetItemTextW(HWND hDlg,WPARAM wParam,LPARAM lParam);
-
//Options dialog procedure
INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -35,4 +29,14 @@ INT_PTR CALLBACK DlgProcPOP3AccPopup(HWND hDlg, UINT msg, WPARAM wParam, LPARAM //Initializes POP3 options for Miranda
int POP3OptInit(WPARAM wParam,LPARAM lParam);
+//Sets dialog item text
+BOOL DlgSetItemText(HWND hDlg,WPARAM wParam,const char*);
+BOOL DlgSetItemTextW(HWND hDlg,WPARAM wParam,const WCHAR*);
+
+#if defined( _UNICODE )
+ #define DlgSetItemTextT DlgSetItemTextW
+#else
+ #define DlgSetItemTextT DlgSetItemText
+#endif
+
#endif
|