+
+
+
+class wxMimeTypeCmnModule: public wxModule
+{
+DECLARE_DYNAMIC_CLASS(wxMimeTypeCmnModule)
+public:
+ wxMimeTypeCmnModule() : wxModule() {}
+ bool OnInit() { return TRUE; }
+ void OnExit()
+ { // this avoids false memory leak allerts:
+ if (gs_mimeTypesManager.m_impl != NULL)
+ {
+ delete gs_mimeTypesManager.m_impl;
+ gs_mimeTypesManager.m_impl = NULL;
+ }
+ }
+};
+
+IMPLEMENT_DYNAMIC_CLASS(wxMimeTypeCmnModule, wxModule)
+
+
+