Added sample codes from wxpython.org.