changeset 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 5fc5e6a7e5c3
children 2b9b6b6ec717
files frontends/src/wix/chat.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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"""