diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /include | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_button.h | 2 | ||||
-rw-r--r-- | include/m_descbutton.h | 2 | ||||
-rw-r--r-- | include/m_gui.h | 2 | ||||
-rw-r--r-- | include/m_iconheader.h | 2 | ||||
-rw-r--r-- | include/m_utils.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/m_button.h b/include/m_button.h index 0ba3afd602..ba75f72aee 100644 --- a/include/m_button.h +++ b/include/m_button.h @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_BUTTON_H__
#define M_BUTTON_H__ 1
-#define MIRANDABUTTONCLASS _T("MButtonClass") // Class of the control
+#define MIRANDABUTTONCLASS L"MButtonClass" // Class of the control
// Sets whether a dropdown arrow is used
// wParam = TRUE/FALSE turns arrow on or off
diff --git a/include/m_descbutton.h b/include/m_descbutton.h index dc28bc1bc2..3f11bcd866 100644 --- a/include/m_descbutton.h +++ b/include/m_descbutton.h @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_DESCBUTTON_H__
#define M_DESCBUTTON_H__ 1
-#define MIRANDADESCBUTTONCLASS _T("MirandaDescButtonClass")
+#define MIRANDADESCBUTTONCLASS L"MirandaDescButtonClass"
#define MDBCF_SHAREDICON 0x01
#define MDBCF_UNICODE 0x02
diff --git a/include/m_gui.h b/include/m_gui.h index 0d9b709332..c0e22e0026 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -661,7 +661,7 @@ protected: __inline BYTE GetDataType() { return m_dbLink ? m_dbLink->GetDataType() : DBVT_DELETED; }
__inline DWORD LoadInt() { return m_dbLink ? m_dbLink->LoadInt() : 0; }
__inline void SaveInt(DWORD value) { if (m_dbLink) m_dbLink->SaveInt(value); }
- __inline const TCHAR *LoadText() { return m_dbLink ? m_dbLink->LoadText() : _T(""); }
+ __inline const TCHAR *LoadText() { return m_dbLink ? m_dbLink->LoadText() : L""; }
__inline void SaveText(TCHAR *value) { if (m_dbLink) m_dbLink->SaveText(value); }
};
diff --git a/include/m_iconheader.h b/include/m_iconheader.h index 3db6c24dce..715ce3408b 100644 --- a/include/m_iconheader.h +++ b/include/m_iconheader.h @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_ICONHEADER_H__
#define M_ICONHEADER_H__ 1
-#define MIRANDAICOTABCLASS _T("MirandaIcoTabClass")
+#define MIRANDAICOTABCLASS L"MirandaIcoTabClass"
#define MITCF_SHAREDICON 0x01
#define MITCF_UNICODE 0x02
diff --git a/include/m_utils.h b/include/m_utils.h index cbe392f025..c7eef10006 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -169,7 +169,7 @@ EXTERN_C MIR_CORE_DLL(int) WindowList_BroadcastAsync(MWindowList hList, UINT mes /***************************** Hyperlink windows ********************************/
//there aren't any services here, because you don't need them.
-#define WNDCLASS_HYPERLINK _T("Hyperlink")
+#define WNDCLASS_HYPERLINK L"Hyperlink"
//the control will obey the SS_LEFT (0), SS_CENTER (1), and SS_RIGHT (2) styles
//the control will send STN_CLICKED via WM_COMMAND when the link itself is clicked
|