wxNotebook

Is there a way to programmatically set the current page in a
wx.Notebook.

According to the wxWidgets docs, there are methods
wxNotebook::SetSelection (which is deprecated) and
wx.Notebook::ChangeSelection.

I can't seem to get either to work.

Thanks,
Mark