Untitled
public text v1 · immutableclass Chat(wx.App):
def OnInit(self):
wx.InitAllImageHandlers()
# Add a message queue
self.msgQueue = Queue.Queue()
frame = ChatTest( None, -1, "SuperApp", [20,20], [500,340] )
frame.Show(True)
chatter = ChatClass(frame, -1, "Test", self.msgQueue)
server(self.msgQueue, "localhost", 80)
chatter.ShowModal()
return True