From 8e4b5265cdd7aeea67c85eb0f50186641f09f7d8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Sep 2007 00:40:10 +0000 Subject: [PATCH] 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 --- include/wx/xrc/xmlres.h | 3 +++ 1 file changed, 3 insertions(+) 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). -- 2.50.0