All pastes #400754 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-18 21:59 UTC
rendered paste body
class 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