In wxPython 2.4.2.4, I found that I could not set the focus to wxStyledTextCtrl when start up the program. I need click in document window, so that the focus will be set to wxStyledTextCtrl. And when I update wxPython to 2.5.1.5, the thing becomes more bad. The focus will stay in notebook's tag when I click the tab for changing the document. In 2.4.2.4 , it is not the same. I could not find the answer, so I want to ask whether you have met the same problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In wxPython 2.4.2.4, I found that I could not set the focus to wxStyledTextCtrl when start up the program. I need click in document window, so that the focus will be set to wxStyledTextCtrl. And when I update wxPython to 2.5.1.5, the thing becomes more bad. The focus will stay in notebook's tag when I click the tab for changing the document. In 2.4.2.4 , it is not the same. I could not find the answer, so I want to ask whether you have met the same problem.
I have not had this problem at all.
As of 3.0.0, wxPython 2.5.1.5 is the only version supported by DrPython.
Are you using DrPython 3.0.0, or DrPython 2.4.6 when you encounter the problem?
3.0.0 does not work with wxPython 2.4.x, so is it 2.4.6?
If yes, does 3.0.0 give you the same problem?
What OS do you encounter the problem on?
Is there any traceback output?
I tested it in windows xp, and I'll test it in windows 2000 to see if it'll be ok.
I found it , it's my program's bug. The program is newedit. Thanks.