git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48836
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{\tt XRCID} together.
\begin{verbatim}
-wxSizerItem* item = XRCSIZERITEM(*this, XRCID("area"));
+wxSizerItem* item = XRCSIZERITEM(*this, "area");
\end{verbatim}
\subsection{Adding new resource handlers}\label{newresourcehandlers}
// <size>400, 300</size>
// </object>
//
-// 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.