Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:msp:75436:ofgfinakfempiciaejof git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1147,6 +1147,14 @@ wxXmlNode *wxXmlResourceHandler::GetParamNode(const wxString& param)
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool wxXmlResourceHandler::IsOfClass(wxXmlNode *node, const wxString& classname)
|
||||
{
|
||||
return node->GetPropVal(wxT("class"), wxEmptyString) == classname;
|
||||
}
|
||||
|
||||
|
||||
|
||||
wxString wxXmlResourceHandler::GetNodeContent(wxXmlNode *node)
|
||||
{
|
||||
wxXmlNode *n = node;
|
||||
|
Reference in New Issue
Block a user