WxNotebook close button?

I am developing a notepad application using wxWidgets (C ++ version) and I am working on multi-file support. Using the wxNotebook class, I cannot find the documentation for adding a close button to pages so that I can easily close individual files. Is there a cross-platform way to enable this use of the class itself? If not, how do you recommend that I add this button to the wxNotebook page?

thanks

+5
source share
2 answers

You have two alternatives:

  • wxAuiNotebook, which is part of the wxwidgets distribution, so you can use it directly.
  • wxFlatNotebook, contibution.

. Windows/VS2008 wxFlatNotebook , lib, , wxAuiNotebook, wxFlatNotebook .

+5

, wxFlatNotebook wxAuiNotebook. wxFlatNotebook wxForum

+3

All Articles