// Returns a numeric ID that is equivalent to the string id used in an XML
// resource. To be used in event tables.
// Returns a numeric ID that is equivalent to the string id used in an XML
// resource. To be used in event tables.
// Returns version information (a.b.c.d = d+ 256*c + 256^2*b + 256^3*a).
long GetVersion() const { return m_version; }
// Returns version information (a.b.c.d = d+ 256*c + 256^2*b + 256^3*a).
long GetVersion() const { return m_version; }
// wxWindows event tables.
// Example:
// BEGIN_EVENT_TABLE(MyFrame, wxFrame)
// wxWindows event tables.
// Example:
// BEGIN_EVENT_TABLE(MyFrame, wxFrame)
-// EVT_MENU(XMLID("quit"), MyFrame::OnQuit)
-// EVT_MENU(XMLID("about"), MyFrame::OnAbout)
-// EVT_MENU(XMLID("new"), MyFrame::OnNew)
-// EVT_MENU(XMLID("open"), MyFrame::OnOpen)
+// EVT_MENU(XRCID("quit"), MyFrame::OnQuit)
+// EVT_MENU(XRCID("about"), MyFrame::OnAbout)
+// EVT_MENU(XRCID("new"), MyFrame::OnNew)
+// EVT_MENU(XRCID("open"), MyFrame::OnOpen)
-#define XMLCTRL(window, id, type) \
- (wxDynamicCast((window).FindWindow(XMLID(id)), type))
+#define XRCCTRL(window, id, type) \
+ (wxDynamicCast((window).FindWindow(XRCID(id)), type))
-#define XMLCTRL(window, id, type) \
- ((type*)((window).FindWindow(XMLID(id))))
+#define XRCCTRL(window, id, type) \
+ ((type*)((window).FindWindow(XRCID(id))))
// Gets text from param and does some conversions:
// - replaces \n, \r, \t by respective chars (according to C syntax)
// Gets text from param and does some conversions:
// - replaces \n, \r, \t by respective chars (according to C syntax)
------------------------------------------------------------------------- */
#define ADD_STYLE XRC_ADD_STYLE
#define wxTheXmlResource wxXmlResource::Get()
------------------------------------------------------------------------- */
#define ADD_STYLE XRC_ADD_STYLE
#define wxTheXmlResource wxXmlResource::Get()