summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar/common.h')
-rw-r--r--plugins/TopToolBar/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/TopToolBar/common.h b/plugins/TopToolBar/common.h
index 7d8c1f0161..70b365044d 100644
--- a/plugins/TopToolBar/common.h
+++ b/plugins/TopToolBar/common.h
@@ -45,6 +45,8 @@
struct TopButtonInt
{
+ __inline void* operator new(size_t size) { return calloc( 1, size ); }
+ __inline void operator delete(void* p) { free( p ); }
~TopButtonInt();
DWORD CheckFlags(DWORD Flags);