X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60b73526d6797ee466c272dbfca962a230bc5908..b4b830ec00c099ae83596fa3fe9d8a4398fd2929:/include/wx/object.h?ds=sidebyside diff --git a/include/wx/object.h b/include/wx/object.h index f165dd1693..6b529bd31e 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -201,18 +201,18 @@ private: \ static const wxString sm_className; \ public: \ name##PluginSentinel(); \ - ~##name##PluginSentinel(); \ + ~name##PluginSentinel(); \ }; \ name##PluginSentinel m_pluginsentinel; #define _IMPLEMENT_DL_SENTINEL(name) \ const wxString name::name##PluginSentinel::sm_className(#name); \ name::name##PluginSentinel::name##PluginSentinel() { \ - wxDLManifestEntry *e = (wxDLManifestEntry*) wxDLManifestEntry::ms_classes.Get(#name); \ + wxPluginLibrary *e = (wxPluginLibrary*) wxPluginLibrary::ms_classes.Get(#name); \ if( e != 0 ) { e->RefObj(); } \ } \ - name::name##PluginSentinel::~##name##PluginSentinel() { \ - wxDLManifestEntry *e = (wxDLManifestEntry*) wxDLManifestEntry::ms_classes.Get(#name); \ + name::name##PluginSentinel::~name##PluginSentinel() { \ + wxPluginLibrary *e = (wxPluginLibrary*) wxPluginLibrary::ms_classes.Get(#name); \ if( e != 0 ) { e->UnrefObj(); } \ } #else