From: Vadim Zeitlin Date: Thu, 5 Sep 2013 14:10:39 +0000 (+0000) Subject: Export recently added wxRichTextXMLHelper to fix link errors. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41fbdcedbb2b2d7e9d31e12177b63e769e3a8bef?ds=inline Export recently added wxRichTextXMLHelper to fix link errors. This class is referenced from outside the library, see e.g. this build log: http://buildbot.tt-solutions.com/wx/builders/Linux x86 wxGTK trunk/builds/2961/steps/compile utils/logs/stdio and so must be exported, otherwise the build fails under Linux (and under Windows when using DLL). Perhaps it would be better to make it completely private to the library if it is not meant to be public, but this would require more changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextxml.h b/include/wx/richtext/richtextxml.h index 8f14f7a30a..013aa97693 100644 --- a/include/wx/richtext/richtextxml.h +++ b/include/wx/richtext/richtextxml.h @@ -27,7 +27,7 @@ saving a buffer if needed. */ -class wxRichTextXMLHelper: public wxObject +class WXDLLIMPEXP_RICHTEXT wxRichTextXMLHelper: public wxObject { public: wxRichTextXMLHelper() { Init(); }