With a few minor changes wxShapeFramework can be compiled using a unity build. In unity builds all c++ files are lumped together so having global variables with the same name becomes an issue. Fortunately in this case it's only 3 of them named arrow witch are easy to fix.

Patch at http://pastebin.com/hJKeJyPN