Work on some char stuff, more soon

This commit is contained in:
cncfanatics
2010-09-05 23:24:43 +02:00
parent a0f487b73c
commit 37c5554945
3 changed files with 41 additions and 1 deletions

View File

@@ -90,6 +90,14 @@ class CharacterEditor (wx.Dialog):
self.Centre(wx.BOTH)
self.registerEvents()
def registerEvents(self):
self.Bind(wx.EVT_CLOSE, self.closeEvent)
def closeEvent(self, event):
pass
class NewCharacter (wx.Dialog):
def __init__(self, parent):
wx.Dialog.__init__ (self, parent, id=wx.ID_ANY, title=u"Create new character", pos=wx.DefaultPosition, size=wx.Size(344, 89), style=wx.DEFAULT_DIALOG_STYLE)