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).