From: Alex Bligh Date: Sun, 23 Jul 2006 13:52:40 +0000 (+0000) Subject: Use wxCHECK_VERSION not wxABI_VERSION to avoid xrc loader bug X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/728e18f612c50632ede26c6a104e01427daba165?ds=inline Use wxCHECK_VERSION not wxABI_VERSION to avoid xrc loader bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_odcombo.cpp b/src/xrc/xh_odcombo.cpp index ffd08373ef..f5108204a4 100644 --- a/src/xrc/xh_odcombo.cpp +++ b/src/xrc/xh_odcombo.cpp @@ -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")));