|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
wxPython Hello world behaviour in Windows
This seems very strange but the most simplest examples of wxPython has strange behaviour on 2 different systems running Windows but is ok on Linux. The problem, while I move the applications windows it looks like it leaves behind copies of itself, you get this effect sometimes when a window hangs or if windows slows down. It is nothing I am doing wrong, I just want to know how to do it right. I am using python23 and 2.5.2.8 so there should be no problem. from wxPython.wx import * class MyApp(wxApp): def OnInit(self): frame = wxFrame(NULL, -1, "Hello from wxPython") frame.Show(true) self.SetTopWindow(frame) return true app = MyApp(0) app.MainLoop() ![]() |
|
#2
|
||||
|
||||
|
I don't have a problem with 2.4.2.4. Your sample is nice and smooth.
(I didnt upgrade because of reported problems with Boa.) grimey
__________________
*** Experimental Python Markup CGI V2 *** |
|
#3
|
|||
|
|||
|
I found out the problem
My applicaition works ok if I don't have the IDLE up while I am executing it. Thanks anyway
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > wxPython: stronge beyond belief |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|