X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a2a5a449eeedc95cbd88d5638516c98a5e92a6c..71ebd60b06f0c299b3f6ae3b11a8dcb4b0306493:/include/wx/xrc/xmlres.h diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index efaba14f72..6146f5956f 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -273,7 +273,7 @@ private: long m_version; int m_flags; - class WXDLLIMPEXP_FWD_XRC wxVector m_handlers; + wxVector m_handlers; wxXmlResourceDataRecords *m_data; #if wxUSE_FILESYSTEM wxFileSystem m_curFileSystem; @@ -326,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.