X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5a9eef7c76b6f13c09c3cafb30a91cf12c00b29..8312c461b8bae95adf2f75c7be4e6bab3b1ceb47:/include/wx/dlimpexp.h

diff --git a/include/wx/dlimpexp.h b/include/wx/dlimpexp.h
index b4e7742085..f3ac1f085b 100644
--- a/include/wx/dlimpexp.h
+++ b/include/wx/dlimpexp.h
@@ -85,6 +85,7 @@
 #    define WXMAKINGDLL_XML
 #    define WXMAKINGDLL_XRC
 #    define WXMAKINGDLL_AUI
+#    define WXMAKINGDLL_RICHTEXT
 #    define WXMAKINGDLL_MEDIA
 #endif /* WXMAKINGDLL */
 
@@ -212,6 +213,14 @@
 #    define WXDLLIMPEXP_AUI
 #endif
 
+#ifdef WXMAKINGDLL_RICHTEXT
+#    define WXDLLIMPEXP_RICHTEXT WXEXPORT
+#elif defined(WXUSINGDLL)
+#    define WXDLLIMPEXP_RICHTEXT WXIMPORT
+#else /* not making nor using DLL */
+#    define WXDLLIMPEXP_RICHTEXT
+#endif
+
 #ifdef WXMAKINGDLL_MEDIA
 #    define WXDLLIMPEXP_MEDIA WXEXPORT
 #elif defined(WXUSINGDLL)