I have the following code snippet from a larger program which is working perfectly for making a gui and adding buttons to it:
	I have no problems setting up the buttons but am now trying to add a larger font size and different font style to it. I have tried using these to no avail: 
font=wx.Font(25 , wx.SWISS, wx.BOLD)
font=wx.SetFont (25, wx.SWISS, wx.BOLD)
The gui keeps crashing everytime i add one of these.
I have multiple buttons and would like one of them to have really big font but the others to have normal font.
Any help will be much appreciated.
					Code:
	        
self.B0 = wx.Button(id=wxID_FRAME2B0, label='Choose Cases', 
         name='B0', parent=self, pos=wx.Point(300, 50), 
         size=wx.Size(400, 50),style=0)
self.B0.Bind(wx.EVT_BUTTON, self.OnB0Button, id=wxID_FRAME2B0)
font=wx.Font(25 , wx.SWISS, wx.BOLD)
font=wx.SetFont (25, wx.SWISS, wx.BOLD)
The gui keeps crashing everytime i add one of these.
I have multiple buttons and would like one of them to have really big font but the others to have normal font.
Any help will be much appreciated.
Comment