[wxPython-dev] funny error

Robin Dunn robin at alldunn.com
Thu Oct 18 17:14:28 PDT 2007


Peter Damoc wrote:
> Hi Robin,
> 
> I just accidentally stumbled on a funny error in The Demo.
> 
> If you filter the demo tree and then select from the menu a demo that is 
> not in the filtered list you get the following:
> 
> Debug: ..\..\src\msw\treectrl.cpp(801): 'TreeView_GetItem' failed with 
> error 0x00000000 (the operation completed successfully.)
> 
> I guess it is only on the Windows version (it looks too much like 
> Microsoft humor) :)

Yep.  Basically there was an error indicated by the API but then when 
the wxLogError was called to tell you about it the GetLastError() API 
doesn't know about it and gives the message you see above.  I've seen 
this happen in a few places...


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list