Skip to content Skip to sidebar Skip to footer

Creating Multiple Instances Of Wx.App - Is It Ok?

so I need to implement a following scenario: - Several tasks are running simultaneously as processes. - Each task should display a progress bar with a 'Cancel' button, clicking on

Solution 1:

No, having more than one wx.App in a single process is not a good idea. Even creating a new one after the prior is finished can sometimes be problematic.

However since you are using multiprocess it is not quite the same. Unless I'm missing something, each OS process does have just one wx.App in your case, and since the parent process is not creating a wx.App then they are not trying to inherit that one (which would likely cause even more problems.)


Post a Comment for "Creating Multiple Instances Of Wx.App - Is It Ok?"