Hi Ray,
On 4/17/2015 0:31, Ray S wrote:
> The code below works fine in wx 2.8*, but fails to do anything with
> with 3*
> I don't see what the difference is in the 3* docs...
> Is there a new, or better, idiom?
>
> BTW, "Upload" feature failed on Google...
I do see the code in your first post, but it is kind of 'dimmed'.
I just do:
self.persistMgr.RegisterAndRestoreAll(self.view)
if self.persistMgr.HasRestored():
self.viewLayout(self.view)
else:
self.doLayout()
and on close:
self.persistMgr.SaveAndUnregister()
This works for me in 2.9.5 and in Phoenix, haven't tried in 3.0 classic.
Why are you doing it for each object, persist if no window is given does
it for all registered windows.
Could you do a
http://wiki.wxpython.org/MakingSampleApps and I'll try
with classic.
Werner