Hi All,
I am using wxVTKRenderWindowInteractor in my application. I just add the following code to detect memory leak
#ifdef __WXMSW__
#include <wx/msw/msvcrt.h>
#endif
But when I build my application, it shows the following error :
error C2660: 'vtkObject::operator new' : function does not take 4 arguments
the pointed lined is: m_pRenderWindowInteractor = new wxVTKRenderWindowInteractor( this, wxID_ANY );
Is it related to wxVTKRenderWindowInteractor.h ?
Thanks in advance.
adding code to detect memory leak debugging shows error
-
- Experienced Solver
- Posts: 65
- Joined: Sun Oct 26, 2008 5:15 am
- Location: Chennai, India
- Contact:
adding code to detect memory leak debugging shows error
Regards,
Nelson Joseph
Nelson Joseph
Re: adding code to detect memory leak debugging shows error
I use the method from http://www.litwindow.com/Knowhow/wxHowt ... ebug_alloc
It work correctly.
It work correctly.