Cross-Platform GUI Programming with wxWidgets
|
In this chapter, we've covered various aspects of memory management and error checking. You now know when to use new and when to create objects on the stack, how your application should clean itself up, how to identify memory leaks, and how to use macros for "defensive programming." You've seen how to write code that creates objects dynamically, and you should be able to decide when to use wxLogDebug and when to use wxLogError. You have also seen how to use C++ exceptions with wxWidgets, and we have presented some tips to help you debug your application. Next, we'll show how you can make your application work in many languages. |
|