valgrind found some uninitialized memory in ToolDock. I don't know if it can cause a problem or not, but nonetheless it seems to have the potential (uninitialized pointers). See diff below for one way to fix it.
Also I noticed in this class (ToolDock) it is derived from wxWidgetWrapper but neither defines a virtual destructor. I can't imagine why that would be a good idea. Browsing around I can find a few more instances of this - so I guess there must be.