]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wxCHECK_VERSION not wxABI_VERSION to avoid xrc loader bug
authorAlex Bligh <alex@alex.org.uk>
Sun, 23 Jul 2006 13:52:40 +0000 (13:52 +0000)
committerAlex Bligh <alex@alex.org.uk>
Sun, 23 Jul 2006 13:52:40 +0000 (13:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_odcombo.cpp

index ffd08373efa69719b2c0f0a62f3733d09afb3ebd..f5108204a48aa938ec6f8c55527d796e90036497 100644 (file)
@@ -106,7 +106,7 @@ wxObject *wxOwnerDrawnComboBoxXmlHandler::DoCreateResource()
 
 bool wxOwnerDrawnComboBoxXmlHandler::CanHandle(wxXmlNode *node)
 {
-#if wxABI_VERSION >= 20700
+#if wxCHECK_VERSION(2,7,0)
 
     return (IsOfClass(node, wxT("wxOwnerDrawnComboBox")) ||
            (m_insideBox && node->GetName() == wxT("item")));