@@ 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)
@@ 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):