X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8758875e0b001444cb677906e68912cb455ab275..a8519f6507f7b4389c0fe7dbae4ebd63120d5dd0:/include/wx/xrc/xmlres.h diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 2f941d9f00..7d29dd260d 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -108,8 +108,6 @@ public: // Destructor. virtual ~wxXmlResource(); - wxXmlNode *GetFirstRoot(); - // Loads resources from XML files that match given filemask. // This method understands VFS (see filesys.h). bool Load(const wxString& filemask); @@ -211,6 +209,15 @@ public: // version for internal use only static int DoGetXRCID(const char *str_id, int value_if_not_found = wxID_NONE); + + // Find the string ID with the given numeric value, returns an empty string + // if no such ID is found. + // + // Notice that unlike GetXRCID(), which is fast, this operation is slow as + // it checks all the IDs used in XRC. + static wxString FindXRCIDById(int numId); + + // Returns version information (a.b.c.d = d+ 256*c + 256^2*b + 256^3*a). long GetVersion() const { return m_version; }