diff frontends/src/wix/chat.py @ 321:1a990a88bff2

wix: force updating of splitterWindow in ChatWindow (needed when Tarot game is launched)
author Goffi <goffi@goffi.org>
date Sun, 08 May 2011 17:09:03 +0200
parents a00e87d48213
children 141eeb7cd9e6
line wrap: on
line diff
--- a/frontends/src/wix/chat.py	Fri May 06 15:42:26 2011 +0200
+++ b/frontends/src/wix/chat.py	Sun May 08 17:09:03 2011 +0200
@@ -117,6 +117,7 @@
             self.sizer.Prepend(self.tarot_panel, 0, flag=wx.EXPAND)
             self.sizer.Layout()
             self.Fit()
+            self.splitter.UpdateSize()
 
     def getGame(self, game_type):
         """Return class managing the game type"""