// Created: 20.07.2003
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
-// License: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
#include "wx/settings.h"
#include "wx/gdicmn.h"
#include "wx/module.h"
+ #include "wx/control.h"
#endif //WX_PRECOMP
#include "wx/splitter.h"
void wxRendererGeneric::Cleanup()
{
- if (sm_rendererGeneric)
- delete sm_rendererGeneric;
-
- sm_rendererGeneric = NULL;
+ wxDELETE(sm_rendererGeneric);
}
wxRendererGeneric* wxRendererGeneric::sm_rendererGeneric = NULL;