X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/187d815255d240350c598721db1e0c1b4d3fb527..8a72770aa682c6b4ea8efa7f5d4ed5e5fa1bcfa6:/src/xrc/xh_odcombo.cpp diff --git a/src/xrc/xh_odcombo.cpp b/src/xrc/xh_odcombo.cpp index 3093395902..fa4503ff64 100644 --- a/src/xrc/xh_odcombo.cpp +++ b/src/xrc/xh_odcombo.cpp @@ -103,12 +103,12 @@ bool wxOwnerDrawnComboBoxXmlHandler::CanHandle(wxXmlNode *node) #else // Avoid GCC bug - this fails on certain GCC 3.3 and 3.4 builds for an unknown reason -// it is believed to be related to the fact IsOfClass is inline, and node->GetPropVal +// it is believed to be related to the fact IsOfClass is inline, and node->GetAttribute // gets passed an invalid "this" pointer. On 2.7, the function is out of line, so the // above should work fine. This code is left in here so this file can easily be used // in a version backported to 2.6. All we are doing here is expanding the macro - bool fOurClass = node->GetPropVal(wxT("class"), wxEmptyString) == wxT("wxOwnerDrawnComboBox"); + bool fOurClass = node->GetAttribute(wxT("class"), wxEmptyString) == wxT("wxOwnerDrawnComboBox"); return (fOurClass || (m_insideBox && node->GetName() == wxT("item"))); #endif