def get_wuid(self): idx = self.wselector.GetSelection() if idx is wx.NOT_FOUND: return None return self.wmap[idx]