Forcing focus to a specific control

Hi, I have a frame, with a panel and a notebook. The panel contains buttons
and a text box, and the notebook contains (a panel) and a StyledTextCtrl.

Naturally when the user hits Ctrl+V the contents of the clipboard are pasted
into the STC. However, if I click on the textbox and hit Ctrl+v, the
contents of the clipboard are still pasted into the STC, instead of the
textbox.

I have wx.TAB_TRAVERSAL set in all the right places on the frame, but I cant
seem to set the focus to the textbox properly.

Can anyone give me some ideas?

Regards

Max

ยทยทยท

--
View this message in context: http://www.nabble.com/Forcing-focus-to-a-specific-control-tp22893621p22893621.html
Sent from the wxPython-users mailing list archive at Nabble.com.