+ // we handle <item tooltip="...">Label</item> constructs here
+
+ wxString str = GetNodeContent(m_node);
+ wxString tooltip;
+ m_node->GetPropVal(wxT("tooltip"), &tooltip);
+
+ if (m_resource->GetFlags() & wxXRC_USE_LOCALE)
+ {
+ str = wxGetTranslation(str);
+ if ( !tooltip.empty() )
+ tooltip = wxGetTranslation(tooltip);
+ }