#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/list.h"
#endif
#include "wx/thread.h"
-#include "wx/clipbrd.h"
+#include "wx/confbase.h"
// ===========================================================================
// implementation
// ===========================================================================
-// ----------------------------------------------------------------------------
-// some global data defined here
-// ----------------------------------------------------------------------------
-
-IMPLEMENT_DYNAMIC_CLASS(wxClipboardModule, wxModule)
-
// ---------------------------------------------------------------------------
// wxAppBase
// ----------------------------------------------------------------------------
}
}
+int wxAppBase::OnExit()
+{
+#if wxUSE_CONFIG
+ // delete the config object if any (don't use Get() here, but Set()
+ // because Get() could create a new config object)
+ delete wxConfigBase::Set((wxConfigBase *) NULL);
+#endif // wxUSE_CONFIG
+
+ return 0;
+}