change in XRC format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,4 +81,20 @@ wxString XmlReadValue(wxXmlNode *parent, const wxString& name)
|
||||
|
||||
|
||||
|
||||
wxString XmlGetClass(wxXmlNode *parent)
|
||||
{
|
||||
return parent->GetPropVal(_T("class"), wxEmptyString);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void XmlSetClass(wxXmlNode *parent, const wxString& classname)
|
||||
{
|
||||
parent->DeleteProperty(_T("class"));
|
||||
parent->AddProperty(_T("class"), classname);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user