Please zip up your project and attach the file. Are you using Code::Blocks with wxSmith? What version of Code::Blocks and which OS?