code: def OnViewTypeTool( self, event ):
          
          new = self.viewTypeTool.GetStringSelection()
          if new != self.viewType:
              self.viewType = new
              self.OnRootView( event )
docs: When the user changes the selection, make that our selection