+
+
+// ----------------------------------------------------------------------------
+// wxClipboardModule: module responsible for destroying the global clipboard
+// object
+// ----------------------------------------------------------------------------
+
+class wxClipboardModule : public wxModule
+{
+public:
+ bool OnInit() { return true; }
+ void OnExit() { wxDELETE(gs_clipboard); }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxClipboardModule)
+};
+
+IMPLEMENT_DYNAMIC_CLASS(wxClipboardModule, wxModule)
+
+#endif // wxUSE_CLIPBOARD