     override public class func requiresConstraintBasedLayout() -> Bool {
         return false
     }
-        
+    
+    public override func viewDidMoveToWindow() {
+        super.viewDidMoveToWindow()
+        if (self.selectedPaneView == nil) {
+            self.select(paneView: self.lastSubPaneView())
+        }
+    }
+    
     // MARK: - Selection
 
     public override func mouseUp(theEvent: NSEvent) {

//            self.setPosition(pos, ofDividerAtIndex: newPaneViewIndex)
        }
        
//        newSplitView.window?.makeFirstResponder(newPaneView)
    }
    
    // MARK: - Helpers

    private func select(paneView pane: PaneView?) {
        self.selectedPaneView = pane
        for subPaneView in self.allSubPaneViews() { subPaneView.select(subPaneView == pane) }
        self.window?.makeFirstResponder(pane)
    }
    
    // MARK: - Adding & Removing Subviews
