Re: wxPython Plot always comes to focus on redraw

2008-02-22 Thread Jacob Davis
Thanks for the reply. This is something that I tried. The documentation for SetFocus() says that it is for keyboard input and that Show() is supposed to show the window. I guess I was misusing the terminology. I tried your suggestion with SetFocus(), Show() and Raise(), with no joy. I th

Re: wxPython Plot always comes to focus on redraw

2008-02-22 Thread Jacob Davis
Thanks for the reply. The parent is a notebook. (the Plotcanvas is a page in the notebook) I tried to make the page of the notebook a panel, and then make the PlotCanvas a child of this panel, but the Plot would not show up when drawn. I may have time to make a mini program to duplicate th

Re: wxPython Plot always comes to focus on redraw

2008-02-21 Thread Mike Driscoll
On Feb 21, 2:57 am, Jacob Davis <[EMAIL PROTECTED]> wrote: > Hi. > > I am using wxPython, and I have a frame that has a notebook in it. > there are 3 pages in the notebook, 2 of which are Panels and 1 of > which is a PlotCanvas. The data for the plot changes when I press a > button that is in the

Re: wxPython Plot always comes to focus on redraw

2008-02-21 Thread Steve Holden
Jacob Davis wrote: > Hi. > > I am using wxPython, and I have a frame that has a notebook in it. > there are 3 pages in the notebook, 2 of which are Panels and 1 of > which is a PlotCanvas. The data for the plot changes when I press a > button that is in the frame, but not in the notebook (

wxPython Plot always comes to focus on redraw

2008-02-21 Thread Jacob Davis
Hi. I am using wxPython, and I have a frame that has a notebook in it. there are 3 pages in the notebook, 2 of which are Panels and 1 of which is a PlotCanvas. The data for the plot changes when I press a button that is in the frame, but not in the notebook (as designed). the button als