Remove #if DESKTOP in Window and TreeView.