I'm developing a notepad app using wxWidgets (the C++ version) and I'm working on implementing multi-file support. Using the wxNotebook class, I can't seem to find any documentation on adding a close button to the pages so I can easily close individual files. Is there a cross-platform way to enable this using the class itself? If not, what ways do you recommend that I go about adding said button to a wxNotebook page?
Thanks
You have two alternatives;
I had to made a choice between the two yesterday. In Windows / VS2008 platform, installing wxFlatNotebook was very difficult, you have to build its lib, which gave me a set of errors, so I settlet with wxAuiNotebook although wxFlatNotebook has some really nice visual enhancements.
If you need a close button then you should use wxFlatNotebook or wxAuiNotebook. wxFlatNotebook can be found at wxForum
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With