X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..b02f1c862d1a3fcd714aef37e67decaa9d67b611:/interface/xrc/xmlres.h diff --git a/interface/xrc/xmlres.h b/interface/xrc/xmlres.h index d6809f76b2..d1d2765684 100644 --- a/interface/xrc/xmlres.h +++ b/interface/xrc/xmlres.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: xrc/xmlres.h -// Purpose: documentation for wxXmlResource class +// Purpose: interface of wxXmlResource // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -83,7 +83,7 @@ public: is less than the argument, +1 if greater, and 0 if they equal. */ int CompareVersion(int major, int minor, int release, - int revision); + int revision) const; /** Gets the global resources object or creates one if none exists. @@ -105,14 +105,14 @@ public: /** Returns version information (a.b.c.d = d+ 256*c + 256@c 2*b + 256@c 3*a). */ - long GetVersion(); + long GetVersion() const; /** Returns a numeric ID that is equivalent to the string ID used in an XML resource. If an unknown @a str_id is requested (i.e. other than wxID_XXX or integer), a new record is created which associates the given string with a number. If @a value_if_not_found is @c wxID_NONE, the number is obtained via - wxNewId. Otherwise @a value_if_not_found is used. + wxNewId(). Otherwise @a value_if_not_found is used. Macro @c XRCID(name) is provided for convenient use in event tables. */ #define int GetXRCID(const wxString& str_id, int value_if_not_found = -2) /* implementation is private */ @@ -231,6 +231,7 @@ public: }; + /** @class wxXmlResourceHandler @headerfile xmlres.h wx/xrc/xmlres.h @@ -309,7 +310,7 @@ public: /** ) - Creates a animation from the filename specified in @e param. + Creates a animation() from the filename specified in @e param. */ wxAnimation GetAnimation(); @@ -432,3 +433,4 @@ public: */ void SetupWindow(wxWindow* wnd); }; +