]> git.saurik.com Git - wxWidgets.git/commitdiff
added WX_CHECK_BUILD_OPTIONS
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 5 Aug 2003 20:39:51 +0000 (20:39 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 5 Aug 2003 20:39:51 +0000 (20:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/tech/tn0016.txt

index 6c7554ef0a0af51025a90f3395da0c8041f9ce58..99d288265886a639949b178138ca956886a7cd2c 100644 (file)
@@ -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).