From: Vadim Zeitlin Date: Mon, 17 Sep 2007 00:40:10 +0000 (+0000) Subject: declare wxVector as DLL-exported to avoid VC++ warnings in... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e4b5265cdd7aeea67c85eb0f50186641f09f7d8?ds=inline declare wxVector as DLL-exported to avoid VC++ warnings in shared build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 7420d84729..b2a2d2f3bc 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -44,6 +44,9 @@ class wxXmlSubclassFactories; class wxXmlResourceModule; class wxXmlResourceDataRecords; +// make VC++ happy: otherwise it gives warnings when using this type for a +// member of DLL-exported wxXmlResource class in shared builds +template class WXDLLIMPEXP_FWD_XRC wxVector; // These macros indicate current version of XML resources (this information is // encoded in root node of XRC file as "version" property).