added wxXmlResource::FindXRCIDById() (#10026)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-14 11:44:10 +00:00
parent 7fa920cd39
commit cc378c2d75
3 changed files with 37 additions and 0 deletions

View File

@@ -108,6 +108,20 @@ public:
*/
int CompareVersion(int major, int minor, int release, int revision) const;
/**
Returns a string ID corresponding to the given numeric ID.
The string returned is such that calling GetXRCID() with it as
parameter yields @a numId. If there is no string identifier
corresponding to the given numeric one, an empty string is returned.
Notice that, unlike GetXRCID(), this function is slow as it checks all
of the identifiers used in XRC.
@since 2.9.0
*/
static wxString wxXmlResource::FindXRCIDById(int numId);
/**
Gets the global resources object or creates one if none exists.
*/