~seanlynch/pythonverse

67c3d79c572558fd4dce1cf93133235ff2093c1b — seanl 22 years ago d534b84
Added a couple of decodes I forgot.
2 files changed, 3 insertions(+), 3 deletions(-)

M OpenVerse.py
M pvui_wx.py
M OpenVerse.py => OpenVerse.py +1 -1
@@ 348,7 348,7 @@ class ServerConnection(transutil.Connection):

    def cmd_EFFECT(self, line):
    	cmd, nick, action = line.split()
	self.client.effect(nick, action)
	self.client.effect(decode(nick), action)

    def cmd_PRIVMSG(self, line):
        cmd, nick, text = line.split(' ', 2)

M pvui_wx.py => pvui_wx.py +2 -2
@@ 524,7 524,7 @@ class Balloon(Sprite):
        _scheduler.ScheduleRel(10, self.OnTimer, ())
    

class ClientCanvas(wxScrollingWindow):
class ClientCanvas(wxPanel):
    def __init__(self, parent):
        wxPanel.__init__(self, parent, -1)
        self.parent = parent


@@ 588,7 588,7 @@ class ClientCanvas(wxScrollingWindow):
        self.SetSizeHints(self.width, self.height, self.width, self.height)
        self.bitmap = wxEmptyBitmap(self.width, self.height)
        self.dc.SelectObject(self.bitmap)
        self.SetScrollbars(20, 20, self.width/20, self.height/20)
        #self.SetScrollbars(20, 20, self.width/20, self.height/20)
        self.DoDrawing(wxClientDC(self), 0, 0, self.width, self.height)

    def OnLeftButtonEvent(self, event):