From: John L. <jla...@gm...> - 2006-05-14 07:08:11
|
On 5/14/06, Steve Kieu <ha...@ya...> wrote: > http://wxlua.sourceforge.net/wxLua/bindings/wxwidgets/socket.i > Hi there, just started to port a sample server from wxWidgets c++ to wxLu= a > but it seems that the support for wxSocket in wxLua is not quite useable > yet. please correct if I am wrong. > > First I did not see any wxSocketEventFlags exported to lua; the socket.i > has only one comment line > > // %enum wxSocketEventFlags %endenum These are actually not enums at all, they're actually typedefs in C++. We just treat them as enums. They're added as of this afternoon. > And the method. SetEventHandler of wxSocket is not exported yet so I ha= ve > no way to set a SOCKET_ID for a socket created in wxLua . > > Any idea to work around it? Get the current CVS HEAD, I had just updated all of socket.i earlier today. Let me know if anything is still missing or doesn't work since I just used the docs and the headers to do it. Regards, John Labenski |