In my wxWidgets application, while running in debug mode i got this message in Output of Visual Studio 2010. The application ran fine, and i only saw this after closing it.
This wiki suggests adding the following to every source file you have, after all other header include's:
#ifdef __WXMSW__
#include // redefines the new() operator
#endif
This will result in leaks being reported when your program ends.
More specifically, make sure you call ->Destroy()
on all objects you create using new
(except maybe your top window).