summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/hdr
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-04-08 04:55:16 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-04-08 04:55:16 +0000
commit4fd0af75812a1dc4a275da315a173d93cb0b8e64 (patch)
tree1bddc37a83ad472235bb30c199c0fdd42e2893c1 /plugins/Clist_modern/src/hdr
parentc874769aaa91b110d87eb7b8d267680eb2008bbf (diff)
MAX_REGS replaced on SIZEOF
small cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/hdr')
-rw-r--r--plugins/Clist_modern/src/hdr/modern_commonheaders.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h
index 4d804a9aa0..e1e9461b3e 100644
--- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h
+++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h
@@ -121,11 +121,6 @@ extern char *g_szMetaModuleName;
#define CLUI_FRAME_AUTOHIDENOTIFY 512
#define CLUI_FRAME_SHOWALWAYS 1024
-
-//#define alloc(n) mir_alloc(n)
-
-#define MAX_REGS(_A_) (sizeof(_A_)/sizeof(_A_[0]))
-
#ifndef CS_DROPSHADOW
#define CS_DROPSHADOW 0x00020000
#endif
@@ -196,10 +191,6 @@ void MakeButtonSkinned(HWND hWnd);
#define AC_SRC_ALPHA 0x01
#endif
-//#ifdef _DEBUG
-//#define DeleteObject(a) DebugDeleteObject(a)
-//#endif
-
#define strsetA(a,b) {if (a) mir_free_and_nill(a); a=mir_strdup(b);}
#define strsetT(a,b) {if (a) mir_free_and_nill(a); a=mir_tstrdup(b);}
@@ -237,14 +228,6 @@ BOOL DestroyIcon_protect(HICON icon);
#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
#endif
-
-
-#define TreeView_InsertItemA(hwnd, lpis) \
- (HTREEITEM)SendMessageA((hwnd), TVM_INSERTITEMA, 0, (LPARAM)(LPTV_INSERTSTRUCTA)(lpis))
-
-#define TreeView_GetItemA(hwnd, pitem) \
- (BOOL)SendMessageA((hwnd), TVM_GETITEMA, 0, (LPARAM)(TV_ITEM *)(pitem))
-
enum
{
STATE_DLL_LOADING = 0,