i did that, can you give me an example code please?
There is a "sample" folder in wxLua .zip file, however the examples are meant to be run with wxlua.exe. If you want to run it with plain Lua interpreter or EGSL you need do add
require "wx" at the beginning. Also, make sure you're using .dll from wxLua 5.2. I'm not sure if it matters, but EGSL 1.6 uses liblua5.2, so that's probably a better choice.
It's not like I don't want to post any example code. I just haven't written anything by myself. At the moment I'm using wxPython and just wanted to try if there was a option to use wxWidgets with Lua. All examples I tried (calculator, temperature converter, empty window and a few more) worked with EGSL.