def get_zuid(self): idx = self.zselector.GetSelection() if idx is wx.NOT_FOUND: return None return self.zmap[idx]