View friends and send chats to them with a button in the buffer

This commit is contained in:
2016-05-25 11:33:57 -05:00
parent 2b44c72999
commit 1252b7feac
6 changed files with 68 additions and 33 deletions

View File

@@ -50,7 +50,7 @@ class mainWindow(wx.Frame):
self.tb.AddPage(buffer, name)
def insert_buffer(self, buffer, name, pos):
self.tb.InsertSubPage(pos, buffer, name)
return self.tb.InsertSubPage(pos, buffer, name)
def search(self, name_):
for i in xrange(0, self.tb.GetPageCount()):