I'm trying to make the font larger in my dialog boxes. Why doesn't this have any effect on the font size?
class ConfirmAction(wx.MessageDialog):
def __init__(self, parent):
wx.MessageDialog.__init__(self, parent, "Are you sure?", "Confirm",
wx.YES_NO | wx.STAY_ON_TOP |
wx.ICON_EXCLAMATION )
self.SetFont(wx.Font(16, wx.DEFAULT, wx.NORMAL, wx.NORMAL))
self.Refresh()
def StartMeUp(self):
retCode = self.ShowModal() # Show it and force user to deal with it
self.Destroy() # Kill ourself off
if retCode == wx.ID_YES:
return True # Action confirmed
else:
return False # Action canceled
Thanks,
Michael