The wxWizard template, has the code in it for getting/saving settings/values, with a sample text box and event handler.
The wxPanel template, has the above, but is coded to only run in a panel.
both, have the the code to match the luaPanel background color, and option to remove the 3D boarder so your
luapanel will be "invisible" on the screen set.
There are some "Configuration" variable at the top for your wxFrame and wxPanel.
Scott