It sounds like you are not building MainWnd.cpp (The file with the WWindow classes source files).
It sounds like you are not building MainWnd.cpp (The file with the WWindow classes source files).
bit∙hub [bit-huhb] n. A source and destination for information.