This first tutorial provides a gradual build-up of a simple window: The user types in a number, and presses a button. When the button is pressed, a countdown is displayed.
The first part (Building the Window) focuses on putting wxWidgets in a window using Erlang.
The second part (Coding the Window) ties together Erlang code to pressing the button on the window.
I have purposely built the window with small increments of code changes. You can download the code of finished product from the "Download" section (free registration required). Otherwise just copy/paste the code from the page you're looking at into a text file if you want to try out the intermediate steps of the process.
Registration is free and gives you access to other menus in this tutorial.