Updates to memcheck
Corrected and beautified memory (output) Fixed a few memory leaks Fixed resizing in in wxRadioBox Added many wxFAIL and wxASSERT Corrected other wxFAIL (removed from ..::Ok()) Added wxBrush::Set..() functions Added CopyOnWrite support in GDI objects (Unshare) Disabled all occurences of WXDEBUG_NEW made clean, recompiled with mem_chcking on git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,8 +35,6 @@
|
||||
#error You must set WXDEBUG to 1 on the 'make' command line (MSW) or with configure (GTK)
|
||||
#endif
|
||||
|
||||
// #define new WXDEBUG_NEW
|
||||
|
||||
// Define a new application type
|
||||
class MyApp: public wxApp
|
||||
{ public:
|
||||
@@ -85,10 +83,9 @@ bool MyApp::OnInit(void)
|
||||
wxDebugContext::SetCheckpoint();
|
||||
wxDebugContext::SetFile("debug.log");
|
||||
|
||||
wxString *thing = new wxString; // WXDEBUG_NEW wxString;
|
||||
wxString *thing = new wxString;
|
||||
wxDate* date = new wxDate;
|
||||
|
||||
// Proves that defining 'new' to be 'WXDEBUG_NEW' doesn't mess up
|
||||
// non-object allocation
|
||||
char *ordinaryNonObject = new char[1000];
|
||||
|
||||
|
Reference in New Issue
Block a user