Please make a runnable, small as possible, sample application that demonstrates the problem. MakingSampleApps - wxPyWiki
···
On 7/18/12 8:05 AM, Brett Duncan wrote:
Hi!
I'm struggling with wxNotebook, specifically with switching between
pages. I want to be able to trigger something on one page of a notebook
and have my script switch to a different page, but I cannot seem to even
get a simple case of a button on one page triggering a switch to a
second page to work. The documentation seems to indicate that I should
be using the ChangeSelection() method, and I find the same answer
searching onling, but it seems to do precisely nothing. I thought maybe
I had overlooked a Refresh or Update call, but they seem to make no
difference.(I'm running Python 2.7.1 and wxPython 2.8.11.0 on a Macbook - OSX 10.6.8).
--
Robin Dunn
Software Craftsman