Add wxXmlResourceHandler::GetNodeName()

This allows to get the name of the node which is needed for XRC handlers
using specific elements instead of using the object elements with
specific name attribute.
This commit is contained in:
Vadim Zeitlin 2024-02-03 19:47:27 +01:00
parent 9ab62c02fd
commit 921018cfc8
4 changed files with 26 additions and 0 deletions

View file

@ -760,6 +760,16 @@ protected:
@since 3.1.0
*/
bool IsObjectNode(const wxXmlNode *node) const;
/**
Returns the node name.
Returns empty string if @a node is @NULL.
@since 3.3.0
*/
wxString GetNodeName(wxXmlNode* node) const;
/**
Gets node content from wxXML_ENTITY_NODE.
*/