Fixup TreeModel.cpp to comply with the wxGTK implementation of wxDataViewCtrl. wxGTK wants to know in advance which nodes are going to have child nodes.