Gabor Szabo wrote:
I am trying to setup a Notebook and I'd like to have the little [x] closing
icons on each one of the pages.
I guess I need to supply some wxICON_.... but I am not sure and I
don't know which one.
Actually I can't even find the possible list.
You need to assign an image list to the notebook and then
pass the index into the list as the last parameter of AddPage
(it's the same way as wxListCtrl and wxTreeCtrl).
I do not think you can make the icons work reliably as
closing buttons. You might have better luck using the AUI
notebook (it is not a native notebook, though).
Besides, I'd like to make the titles of the pages the same size.
You can try using the wxNB_FIXEDWIDTH, but it only
works under Windows.
Regards,
Mattia