Fix attempt for charselection choice control draw bug on OSX

This commit is contained in:
HomeWorld
2010-09-16 20:28:10 +03:00
parent f63891e627
commit fb452b0261

View File

@@ -34,7 +34,7 @@ class CharacterSelection(wx.Panel):
mainSizer.Add(wx.StaticText(self, wx.ID_ANY, "Character: "), 0, wx.CENTER)
self.charChoice = wx.Choice(self)
self.charChoice = wx.Choice(self, style = wx.FRAME_FLOAT_ON_PARENT)
mainSizer.Add(self.charChoice, 1, wx.EXPAND)
self.refreshCharacterList()
@@ -103,4 +103,4 @@ class CharacterSelection(wx.Panel):
elif currCharID != newCharID:
self.selectChar(newCharID)
event.Skip()
event.Skip()