#ifndef _WX_DYNLIB_H__
#define _WX_DYNLIB_H__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
# pragma interface "dynlib.h"
#endif
#elif defined(__DARWIN__)
typedef void *wxDllType;
#elif defined(__WXMAC__)
+ #include <CodeFragments.h>
typedef CFragConnectionID wxDllType;
#else
#error "Dynamic Loading classes can't be compiled on this platform, sorry."
static wxString CanonicalizeName(const wxString& name,
wxDynamicLibraryCategory cat = wxDL_LIBRARY);
- // return name of wxWindows plugin (adds compiler and version info
+ // return name of wxWidgets plugin (adds compiler and version info
// to the filename):
static wxString
CanonicalizePluginName(const wxString& name,