From: Julian Smart Date: Thu, 9 Nov 2006 10:40:41 +0000 (+0000) Subject: Don't compile rich text handler unless wxUSE_RICHTEXT_XML_HANDLER is 1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/75a3537ac622189c75a2d5f75ed8d92be5d4c292 Don't compile rich text handler unless wxUSE_RICHTEXT_XML_HANDLER is 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/xrc/xh_all.h b/include/wx/xrc/xh_all.h index 73f64a57ee..0424611ed3 100644 --- a/include/wx/xrc/xh_all.h +++ b/include/wx/xrc/xh_all.h @@ -67,6 +67,5 @@ #include "wx/xrc/xh_bmpcbox.h" #include "wx/xrc/xh_animatctrl.h" #include "wx/xrc/xh_collpane.h" -#include "wx/xrc/xh_richtext.h" #endif // _WX_XH_ALL_H_ diff --git a/src/xrc/xh_richtext.cpp b/src/xrc/xh_richtext.cpp index f8b08cc839..0d8146785f 100644 --- a/src/xrc/xh_richtext.cpp +++ b/src/xrc/xh_richtext.cpp @@ -15,7 +15,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC && wxUSE_RICHTEXT +#if wxUSE_XRC && wxUSE_RICHTEXT && wxUSE_RICHTEXT_XML_HANDLER #include "wx/xrc/xh_richtext.h"