Since you have choosen to use wxSmith as a gui designer, you need to have the wxSmith plugin activated.
Be sure to have wxSmith be compiled e.g. by configuring codeblocks with
./configure --with-contrib-plugins=all
After compiling cb, wxSmith should be installed then (check in Plugins->Manage Plugins).