Hi,
I think that you need to out-dent your return statement - otherwise
if the if statement is true you return Nothing if false then you
return a font family.
This might have some bearing.
Gadget/Steve
···
On 27/05/13 00:10, Kavitha Bhaskaran
wrote:
I was running into a font error earlier in which was being shown
in_gdi.py (failure point)
In customtreectrl.py, **family** had a value 74. I saw some
threads where it said that it was a wx.Font bug and that it should
return FONTFAMILY_DEFAULT instead… which is why i added the else
condition below…if family == wx.FONTFAMILY_UNKNOWN: print "inside family condition" family = wx.FONTFAMILY_SWISS else: #Else condition added by KB print "inside else family condition" family = wx.FONTFAMILY_DEFAULT #KB return family After adding the else condition in customtreectrl.py in
wx/lib/agw, the font error does not come up but another error
typeerror in method new_Timer expected argument of type
wxEvtHandler. (failure point is _misc.py) . I dont know if I am
landing on the right error after resolving the previous one or is
it just random?If you feel I have landed on error 2 validly from error 1, that i
had… pls let me know if i m on the right track.
Any suggestions? -- You received this message because you are subscribed to the Google
Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to .
For more options, visit .
–
Steve Gadget Barnes
wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/groups/opt_out