This is so that you can run /usr/local/bin/codeblocks from the command line, or use the "Run" command in CB after building the newly generated wxWidgets wizard project.
For real applications, it is recommended that you build an .app bundle with the proper structure and an Info.plist. But unless you do either, the application doesn't work.