From: John L. <jr...@us...> - 2008-01-11 22:20:51
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14047/wxLua/modules/wxbind/include Modified Files: wxbinddefs.h Log Message: Update install.html Fix accidental paste so configure was broken Move wxLUA_USEBINDING_XXX to wxbinddefs.h from wxluasetup.h so we don't have to specify the include for wxluasetup and since wxLUA_USEBINDING_XXX is used only for the WXLUA_DECLARE/IMPLEMENT/_BIND_XXX Index: wxbinddefs.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/include/wxbinddefs.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** wxbinddefs.h 11 Jan 2008 00:32:36 -0000 1.10 --- wxbinddefs.h 11 Jan 2008 22:20:47 -0000 1.11 *************** *** 13,17 **** #include "wx/defs.h" #include "wxlua/include/wxlstate.h" - #include "../setup/wxluasetup.h" // ---------------------------------------------------------------------------- --- 13,16 ---- *************** *** 169,172 **** --- 168,229 ---- // ---------------------------------------------------------------------------- + // wxLUA_USEBINDING_XXX defines control the WXLUA_DECLARE_BIND_XXX and + // WXLUA_IMPLEMENT_BIND_XXX macros to allow the wxLuaBinding_XXX_init() + // functions to be called or not depending on the existence of the bind libs. + // + // Normally =1, but they are overridden by autoconf (configure) to 0 using + // the compiler directive -DwxLUA_USEBINDING_XXX=0 if the corresponding + // wxWidgets library is not found. + // ---------------------------------------------------------------------------- + + // Enable or disable initializing the wxLua bindings + + #ifndef wxLUA_USEBINDING_WXLUA + #define wxLUA_USEBINDING_WXLUA 1 + #endif + #ifndef wxLUA_USEBINDING_WXLUASOCKET + #define wxLUA_USEBINDING_WXLUASOCKET 1 + #endif + + // Enable or disable initializing the wxWidgets bindings + + #ifndef wxLUA_USEBINDING_WXADV + #define wxLUA_USEBINDING_WXADV 1 + #endif + #ifndef wxLUA_USEBINDING_WXAUI + #define wxLUA_USEBINDING_WXAUI 1 + #endif + #ifndef wxLUA_USEBINDING_WXBASE + #define wxLUA_USEBINDING_WXBASE 1 + #endif + #ifndef wxLUA_USEBINDING_WXCORE + #define wxLUA_USEBINDING_WXCORE 1 + #endif + #ifndef wxLUA_USEBINDING_WXGL + #define wxLUA_USEBINDING_WXGL 1 + #endif + #ifndef wxLUA_USEBINDING_WXHTML + #define wxLUA_USEBINDING_WXHTML 1 + #endif + #ifndef wxLUA_USEBINDING_WXMEDIA + #define wxLUA_USEBINDING_WXMEDIA 1 + #endif + #ifndef wxLUA_USEBINDING_WXNET + #define wxLUA_USEBINDING_WXNET 1 + #endif + #ifndef wxLUA_USEBINDING_WXRICHTEXT + #define wxLUA_USEBINDING_WXRICHTEXT 0 // NOT FINISHED or WORKING + #endif + #ifndef wxLUA_USEBINDING_WXSTC + #define wxLUA_USEBINDING_WXSTC 1 + #endif + #ifndef wxLUA_USEBINDING_WXXML + #define wxLUA_USEBINDING_WXXML 1 + #endif + #ifndef wxLUA_USEBINDING_WXXRC + #define wxLUA_USEBINDING_WXXRC 1 + #endif + + // ---------------------------------------------------------------------------- // Macros to initialize the wxWidgets bindings taking the wxUSE_XXX conditions // into account. |