X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e4b5265cdd7aeea67c85eb0f50186641f09f7d8..174e8f45dfd90f27812f4e6093d3a7703ba82a09:/include/wx/xrc/xmlres.h diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index b2a2d2f3bc..6146f5956f 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -44,10 +44,6 @@ 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). // @@ -330,10 +326,10 @@ private: // 400, 300 // // -// wxSizerItem* item = XRCSIZERITEM(*this, wxT("area")) +// wxSizerItem* item = XRCSIZERITEM(*this, "area") #define XRCSIZERITEM(window, id) \ - ((window).GetSizer() ? (window).GetSizer()->GetItemById(id) : NULL) + ((window).GetSizer() ? (window).GetSizer()->GetItemById(XRCID(id)) : NULL) // wxXmlResourceHandler is an abstract base class for resource handlers // capable of creating a control from an XML node.