/////////////////////////////////////////////////////////////////////////////
// Name: xrc/xmlres.h
-// Purpose: documentation for wxXmlResource class
+// Purpose: interface of wxXmlResource
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
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.
/**
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 */
};
+
/**
@class wxXmlResourceHandler
@headerfile xmlres.h wx/xrc/xmlres.h
/**
)
- Creates a animation from the filename specified in @e param.
+ Creates a animation() from the filename specified in @e param.
*/
wxAnimation GetAnimation();
*/
void SetupWindow(wxWindow* wnd);
};
+