How to restore a AUI pane to its previous size

Hello,

How do I restore a AUI pane to its previous size when I show it after I hid it?

Please check this code: http://pastebin.com/f65494cfc

Run it. Resize the pane, then click the content pane to hide the "file
list" pane. Click again and the file list will appear again, but not
with its previous width. Is there any way to do restore to its
previous size? I've tried to hack something with BestSize and it works
for some small widths, and fails otherwise (it's restored shorter).

Thanks,
Conrado

Code sample works fine for me.

Windows XP, Python 2.4.3, wxPython 2.8.4.0

Gre7g

ยทยทยท

On 8/10/08, Conrado PLG conradoplg@gmail.com wrote:

Hello,

How do I restore a AUI pane to its previous size when I show it after I hid it?

Please check this code: http://pastebin.com/f65494cfc