From 4fd0af75812a1dc4a275da315a173d93cb0b8e64 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 8 Apr 2013 04:55:16 +0000 Subject: MAX_REGS replaced on SIZEOF small cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@4382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/hdr/modern_commonheaders.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'plugins/Clist_modern/src/hdr') 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, -- cgit v1.2.3