Implemented like and dislike buttons

This commit is contained in:
2016-03-27 06:06:10 -06:00
parent 6a3ddaa489
commit 13bb4a8a88
4 changed files with 32 additions and 8 deletions

View File

@@ -108,6 +108,12 @@ class BaseDialog(wx.Dialog):
def get_title(self):
return self.GetTitle()
def enable(self, control):
getattr(self, control).Enable(True)
def disable(self, control):
getattr(self, control).Enable(False)
class mainLoopObject(wx.App):
def __init__(self):