From: Václav Slavík Date: Tue, 5 Aug 2003 20:39:51 +0000 (+0000) Subject: added WX_CHECK_BUILD_OPTIONS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2512ee4ef28558f2fca6409f9b48a57d2fc3c780 added WX_CHECK_BUILD_OPTIONS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/tech/tn0016.txt b/docs/tech/tn0016.txt index 6c7554ef0a..99d2882658 100644 --- a/docs/tech/tn0016.txt +++ b/docs/tech/tn0016.txt @@ -223,6 +223,11 @@ g) Update defs.h to define WXMAKINGDLL_FOO if WXMAKINGDLL is defined (add #endif Use WXDLLIMPEXP_FOO when declaring wxFoo classes and functions. +h) Add this code to one of wxFoo's files (the more often used, the better): + // DLL options compatibility check: + #include "wx/app.h" + WX_CHECK_BUILD_OPTIONS("wxFoo") + i) Add information about wxFoo to the manual ("Libraries list" section in libs.tex).