From: Kendall Bennett Date: Tue, 12 Jun 2001 19:49:51 +0000 (+0000) Subject: Updates to xmlres.h to allow compiling XML code into a DLL correctly. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5ab8bd570e070e97a597f8c816df98ecf8623eea Updates to xmlres.h to allow compiling XML code into a DLL correctly. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/include/wx/xrc/xmlres.h b/contrib/include/wx/xrc/xmlres.h index 61247013fa..32f45bcd01 100644 --- a/contrib/include/wx/xrc/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -198,7 +198,7 @@ private: // Global instance of resource class. For your convenience. -extern wxXmlResource *wxTheXmlResource; +extern WXXMLDLLEXPORT wxXmlResource *wxTheXmlResource; // This macro translates string identifier (as used in XML resource, // e.g. ...) to integer id that is needed by diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 61247013fa..32f45bcd01 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -198,7 +198,7 @@ private: // Global instance of resource class. For your convenience. -extern wxXmlResource *wxTheXmlResource; +extern WXXMLDLLEXPORT wxXmlResource *wxTheXmlResource; // This macro translates string identifier (as used in XML resource, // e.g. ...) to integer id that is needed by