Hi
I'm new to wxPython, well to GUI programming in general, perhaps you can help me.
I have a panel with 3 TextCtrl's and I need to put accented characters into the TextCtrl into which the user has put the caret.
I can do this successfully using a menu (and a toolbar since this also uses EVT_MENU) and identifying the relevant TextCtrl using wx.Window.FindFocus in this manner
ctrl=wx.Window.FindFocus()
ctrl.WriteText("whatever")
However the situation has arisen where I really could do with using a block of Bitmap buttons to do the job, but of course the button click 'hijacks' the focus so FindFocus no longer refers to one of the TextCtrls.
Any ideas how I can overcome this
regards
John