add to the compiler include paths the folder, where this file resides.
Note that wxSmith also supports 3rd party wxWidgets controls that are not part of the standard wxWidgets distro. These are embedded into the Code::Blocks sources which you can checkout. Namely the wxContribItems project will provide these sources and (if compiled) run-time libs.