Hi,
I am making good progress towards adding wxSerialPort to wxLua. I
think I am down to the last problem. I have a function that takes a
callback function as a parameter and I don't know what I can use in
the interface file (.i). I have tried to use wxEventHandler as the
parameter and it of coarse does not work.
Here is the header: (.h)
class timer
{
...
public:
timer(unsigned int msec,int* exitflag,void*(*exitfnc)(void*));
int start();
int stop();
};
Here is the interface file: (.i)
//-----------------------------------------------------------------------------
// Timer class
%class %delete %noclassinfo %encapsulate timer
timer(unsigned int msec,int* exitflag,wxEvtHandler* exitfnc)
int start()
int stop()
%endclass
Any suggestions would be appreciated.
--
Regards,
Ryan
RJP Computing
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users