On 2/7/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote: > > I now have the library building. I now need to add it to the wxLua > solution and the I am now sure what I need to do to include this in a > full compiled version of wxLua.
The easiest thing to do is to merely add the *.cpp files to your project (or apps/wxlua) and then recompile. I suppose you could build your own lib, like wxbindstc for example and then link to that, but adding the cpp files is much easier. > Is there any initialization I need to call? You must call the init function to add the bindings to the lua bindings. For example the wxStyledTextCtrl bindings uses this function in modules/wxbindstc/include/wxbind.h extern WXDLLIMPEXP_WXBINDSTC bool wxLuaBinding_wxstc_init(); See also apps/wxlua/src/wxlua.cpp and search for this function. We tried hard to make this automatic, but different compilers made this impossible to do. > Oh.... Thanks so much for helping. I am moving slow, but you are > helping tendentiously. No problem, the bindings should be easy to do, but I'm sure that the first time through things are not as clear as they could be. Was there anything that should be added to the documentation binding.html file? -John Labenski ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users