How to Split-Unsplit

I want to control via a hot key the visibility of a window in a wxSplitterWindow
I do a SplitVertically in initialisation, an Unsplit, and if I try to do a SplitVertically again the window that I sent as an argument o Unsplit doesn't reappear, all I get is "gray matter" :smiley:
Any ideas?

Thanks,
Peter.

Hi,
Did you remember to call show on the new window?

yourSplitter.SplitVertically(<window_1>,<window_2> )
window_2.Show(1)

/mvh
Ronald

路路路

On Jan 11, 2004, at 9:58 PM, Peter Damoc wrote:

I want to control via a hot key the visibility of a window in a wxSplitterWindow
I do a SplitVertically in initialisation, an Unsplit, and if I try to do a SplitVertically again the window that I sent as an argument o Unsplit doesn't reappear, all I get is "gray matter" :smiley:
Any ideas?

Thanks,
Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

I didn't knew I should have.... :smiley:
Anyway... problem solved....

Thanks,
Peter

路路路

On Sun, 11 Jan 2004 22:21:39 +0100, Ronald Jaramillo <ronald@manoamano.dk> wrote:

Hi,
Did you remember to call show on the new window?