programming / C++ / sailing / nerd stuff
wxWidgets Tutorial 1: Hello World
© 2005 / Mario Konrad

This is possibly the simplest application you can do with wxWindows.

There is really not much to say about this example. It shows a window, containing a status and a menu bar.


Building the executable

Building this example is very easy:

Linux + Windows/Cygwin:

$ g++ -c hello.cpp `wx-config --cxxflags`
$ g++ -o hello hello.o `wx-config --libs`

Using the makefile:

$ make hello

Running the Demo

$ ./hello