summaryrefslogtreecommitdiff
path: root/protocols/JabberG/ui_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/ui_utils.cpp')
-rw-r--r--protocols/JabberG/ui_utils.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/JabberG/ui_utils.cpp b/protocols/JabberG/ui_utils.cpp
index 3e0db611a8..39f63ecae7 100644
--- a/protocols/JabberG/ui_utils.cpp
+++ b/protocols/JabberG/ui_utils.cpp
@@ -1349,7 +1349,7 @@ BOOL CCtrlListView::Update(int iItem)
#define FILTER_BOX_HEIGHT 21
-struct CFilterData
+struct CFilterData : public MZeroedObject
{
HFONT m_hfntNormal;
HFONT m_hfntEmpty;
@@ -1363,14 +1363,6 @@ struct CFilterData
HWND m_hwndOwner;
HWND m_hwndEditBox;
- __inline void* operator new( size_t size )
- { return calloc( 1, size );
- }
-
- __inline void operator delete( void* p )
- { free( p );
- }
-
void ReleaseFilterData()
{
//DeleteObject(m_hfntNormal); m_hfntNormal = NULL; // managed by system