- sizer.Add(btnSizer, 0, wxEXPAND)
- sizer.Add(self.ie, 1, wxEXPAND)
+ txt = wx.StaticText(self, -1, "Location:")
+ btnSizer.Add(txt, 0, wx.CENTER|wx.ALL, 2)
+
+ self.location = wx.ComboBox(self, wx.NewId(), "", style=wx.CB_DROPDOWN)
+ self.Bind(wx.EVT_COMBOBOX, self.OnLocationSelect, id=self.location.GetId())
+ self.Bind(wx.EVT_KEY_UP, self.OnLocationKey, self.location)
+ self.Bind(wx.EVT_CHAR, self.IgnoreReturn, self.location)
+ btnSizer.Add(self.location, 1, wx.EXPAND|wx.ALL, 2)
+
+ sizer.Add(btnSizer, 0, wx.EXPAND)
+ sizer.Add(self.ie, 1, wx.EXPAND)