Presently, if wx/setup.h has wxUSE_STL 1 wxLua will not build, because of the widespread use of wxNode* instead of wxList::compatibility_iterator. I've made the necessary changes in my sandbox and submitted the patch to Sourceforge.
On a related note, when building with STL wxLUA_USE_wxList must be set to 0. It appears that when pushing node on the stack it assumes that nodes are pointers and therefore treats them as light userdata, but in STL mode compatibility_iterator is generally *not* a pointer, and so is not convertible to void*. I personally don't view this as an issue worth fixing; I don't have any real need to use wxList in Lua code. But to be perfectly complete, those functions that return Node/compatibility_iterator ought to push full userdata instead of light. Regards, --- Kevin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users