-        btns = wxBoxSizer(wxHORIZONTAL)
-        btns.Add(50, -1, 1, wxEXPAND)
-        btn1 = wxButton(self, BTN1, "Find My Alter-ego")  # don't save a ref to this one
+        btns = wx.BoxSizer(wx.HORIZONTAL)
+        btns.Add((50, -1), 1, wx.EXPAND)
+        btn1 = wx.Button(self, BTN1, "Find My Alter-ego") # don't save a ref to this one