diff --git a/frontends/wix/card_game.py b/frontends/wix/card_game.py index 9c071682..e197edf1 100644 --- a/frontends/wix/card_game.py +++ b/frontends/wix/card_game.py @@ -157,7 +157,7 @@ class CardPanel(wx.Panel): """Called when the player as to select hist contrat @param xml_data: SàT xml representation of the form""" misc = {'callback': self.contratSelected} - form = Form(self.parent.host, xml_data, title = _('Please choose your contrat'), options = ['NO_CANCEL'], misc = misc) + form = XMLUI(self.parent.host, xml_data, title = _('Please choose your contrat'), options = ['NO_CANCEL'], misc = misc) def showCards(self, game_stage, cards, data): """Display cards in the middle of the game (to show for e.g. chien ou poignée)""" @@ -178,7 +178,7 @@ class CardPanel(wx.Panel): def showScores(self, xml_data, winners, loosers): """Called when the player as to select hist contrat @param xml_data: SàT xml representation of the form""" - form = Form(self.parent.host, xml_data, title = _('You win \o/') if self.player_nick in winners else _('You loose :('), options = ['NO_CANCEL']) + form = XMLUI(self.parent.host, xml_data, title = _('You win \o/') if self.player_nick in winners else _('You loose :('), options = ['NO_CANCEL']) def cardsPlayed(self, player, cards): """A card has been played by player"""