The ubuntu samples are in a separate package, wx2.8-examples. It installs to /usr/share/doc/wx-examples/But, I can't find the keyboard sample online or on the OS I just installed to. Is there something else that needs to be installed?
Note that some of the .cpp files (the larger ones) come compressed and need to be extracted before you can build.