diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-22 13:29:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-22 13:29:17 +0000 |
commit | 1689562f568f248c2ce74dd8eee06e1a8f26d04f (patch) | |
tree | 35b9a1ce1beaec2c2d6fe5ab599332298f444475 /plugins/TopToolBar/common.h | |
parent | 3e7048d2037b42781182c895ef56d5f51b1b5f35 (diff) |
- fix for the icolib handles;
- fix for memory issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@529 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/common.h')
-rw-r--r-- | plugins/TopToolBar/common.h | 2 |
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);
|