On 1/31/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote: > > I am going to attempt to create a binding for wxCTB's wxSerialPort and > I have a question about the .i file. > > If the header file has items in it, but the only thing I care about is > an enumeration do I delete everything other than the items I care > about?
You need only put the things you want accessible to lua in the .i file. In fact, if a class has a base class you need only wrap the topmost class and add the useful base class functions to it. It would only make sense to wrap the base class if two or more classes use it. Hope this helps, 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