summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar')
-rw-r--r--plugins/TopToolBar/common.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/TopToolBar/common.h b/plugins/TopToolBar/common.h
index 996c3bf50f..0840111f2f 100644
--- a/plugins/TopToolBar/common.h
+++ b/plugins/TopToolBar/common.h
@@ -50,10 +50,8 @@
///////////////////////////////////////////////////////////////////////////////
// TopButtonInt class
-struct TopButtonInt
+struct TopButtonInt : public MZeroedObject
{
- __inline void* operator new(size_t size) { return calloc( 1, size ); }
- __inline void operator delete(void* p) { free( p ); }
~TopButtonInt();
DWORD CheckFlags(DWORD Flags);
@@ -77,12 +75,12 @@ struct TopButtonInt
int x, y, arrangedpos;
HICON hIconUp, hIconDn;
HANDLE hIconHandleUp, hIconHandleDn;
-
+
char *pszService;
TCHAR *ptszProgram;
char *pszName;
TCHAR *ptszTooltip;
-
+
LPARAM lParamUp;
WPARAM wParamUp;
LPARAM lParamDown;