In the online notes for wxNotebook, it says that SetSelection() is
deprecated, and to use ChangeSelection instead. But it also says that
SetSelection generates a page changing event, and that ChangeSelection
does not.
I'd rather not put together and post my own page-changing event.
Why is SetSelection deprecated without having an event-generating
replacement? Thanks.
It isn't really deprecated, i.e. using it won't generate compiler
deprecation warnings and is perfectly all right if you're aware of the
event it generates. Besides, in the latest trunk documentation it is not
documented as deprecated any longer:
http://docs.wxwidgets.org/trunk/classwx_book_ctrl_base.html#522ca472343a07a262de92348e3f2d2c
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/