diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-29 12:36:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-29 12:36:34 +0000 |
commit | 428bf0cbd77813a43094cb5c984436deff251936 (patch) | |
tree | d7dfa8971153d53a849e45c942be97fe5b90b7ec /include/m_descbutton.h | |
parent | 82ef17ca5286f58ae7af604fb9518e8dc496b7c3 (diff) |
no more TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_descbutton.h')
-rw-r--r-- | include/m_descbutton.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/m_descbutton.h b/include/m_descbutton.h index 3f11bcd866..0c3a0ce94c 100644 --- a/include/m_descbutton.h +++ b/include/m_descbutton.h @@ -31,11 +31,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MDBCF_SHAREDICON 0x01
#define MDBCF_UNICODE 0x02
-#ifdef _UNICODE
- #define MDBCF_TCHAR MDBCF_UNICODE
-#else
- #define MDBCF_TCHAR 0
-#endif
#define DBCM_FIRST (WM_USER+1024)
#define DBCM_LAST (ITCM_FIRST+64)
@@ -45,9 +40,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define DBCM_SETICON (DBCM_FIRST+3) //WPARAM is set of flags, LPARAM icon handle
#define MDescButton_SetTitle(hwnd, title) \
- (SendMessage((hwnd), DBCM_SETTITLE, MDBCF_TCHAR, (LPARAM)(title)))
+ (SendMessage((hwnd), DBCM_SETTITLE, MDBCF_UNICODE, (LPARAM)(title)))
#define MDescButton_SetDescription(hwnd, title) \
- (SendMessage((hwnd), DBCM_SETDESCRIPTION, MDBCF_TCHAR, (LPARAM)(title)))
+ (SendMessage((hwnd), DBCM_SETDESCRIPTION, MDBCF_UNICODE, (LPARAM)(title)))
#define MDescButton_SetIcon(hwnd, hicon) \
(SendMessage((hwnd), DBCM_SETICON, 0, (LPARAM)(hicon)))
#define MDescButton_SetIconShared(hwnd, hicon) \
|