This patch is intended to demonstrate where I am encountering "silent failures" inside various functions.
This patch demonstrates where I added error-checking and wxFAIL_MSG code in order to help me develop and debug.
This patch is probably not "ready for prime time" so that you would simply apply it to the mainline and include it in the next release.
However, I hope that this patch draws attention to the SILENT FAILURES that can happen. I would have really appreciated it if some wxASSERT calls or wxFAIL calls existed in this code before I found it. Therefore, I think other developers might also like for these wxFAIL (or wxASSERT if you choose) calls to be patched into the code one way or another.
Log in to post a comment.