@stahta01
I have rebuilt wxwidgets316 with CFG=64, Shared=1 and MONOLITHIC=1. Deleted left-over obj31_64, devel31_64 and output31_64 directories from previous successful build of SVN 12777 with wxwidgets315. Have always set WX_CFG TO 64. Re-ordered the Search Directories for the Compiler and Resource Compiler to ensure setup.h was included first. Have now successfully built the core of CB 12799.
The left-over directories were causing the error.
Thanks.