Fixed ticket #84, it seems that not only wxmac sux but wxgtk too, character editor remade as wx.frame + some tricks to emulate a modal dialog

This commit is contained in:
HomeWorld
2010-10-07 17:06:30 +03:00
parent cc2d9a9391
commit 4d102c5d8a
2 changed files with 10 additions and 7 deletions

View File

@@ -125,9 +125,9 @@ class MainFrame(wx.Frame):
wx.AboutBox(info)
def showCharacterEditor(self, event):
dlg=CharacterEditor(None)
dlg.ShowModal()
dlg.Destroy()
dlg=CharacterEditor(self)
dlg.Show()
cFit = service.Fit.getInstance()
cFit.clearFit(self.getActiveFit())
wx.PostEvent(self, fv.FitChanged(fitID=self.getActiveFit()))