X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1d738f18c7dbcc58604b6f3ba73ceebef656dc2..8bebc229c7aa9a57fdb4b4955bbe23cd1a44f54a:/src/common/dynload.cpp diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index e342678774..9494d42fb9 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dynload.h" #endif @@ -58,7 +58,7 @@ public: // TODO: create ms_classes on demand, why always preallocate it? virtual bool OnInit() { - wxPluginLibrary::ms_classes = new wxDLImports(wxKEY_STRING); + wxPluginLibrary::ms_classes = new wxDLImports; wxPluginManager::CreateManifest(); return TRUE; }