Mercurial > libervia-backend
diff frontends/wix/form.py @ 92:2503de7fb4c7
Tarot game: chien/écart stage
- tarot plugin: new methods/signals tarotGamePlayCards, tarotGameShowCards, tarotGameYourTurn
- tarot plugin: protocole update
- tarot plugin: family renamed in suit
- wix: card_game: card can be selected for écart, card move when mouse is over only if it's our turn
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 29 May 2010 20:53:03 +0930 |
parents | 39c672544593 |
children |
line wrap: on
line diff
--- a/frontends/wix/form.py Thu May 27 19:26:19 2010 +0930 +++ b/frontends/wix/form.py Sat May 29 20:53:03 2010 +0930 @@ -32,7 +32,8 @@ """Create a form from a SàT xml""" def __init__(self, host, xml_data='', title="Form", options=[], misc={}): - super(Form, self).__init__(None, title=title) + style = wx.DEFAULT_FRAME_STYLE & ~wx.CLOSE_BOX if 'NO_CANCEL' in options else wx.DEFAULT_FRAME_STYLE #FIXME: gof: Q&D tmp hack + super(Form, self).__init__(None, title=title, style=style) self.host = host self.options = options