Problem with wx.SplitterWindow...

Hi,
I have a problem with wx.SplitterWindow (see attached py-file)

I use a splitter window with 2 panels...
At startup the splitter window is unsplit and then I split/unsplit the
window manually.
I want to have a second panel, when the window is split, in fixed size:
        self.splitt.SetMinimumPaneSize(20)
        self.splitt.SetSashGravity(1.0)
        self.splitt.SplitHorizontally(self.panel1, self.panel2, -50)

When I split the first time and maximize the window the sash is not in
correct position.
But, if I unsplit and split again and then maximize, it's working as
excepted.
Or if I resize the window by grabbing the frame before maximize, it's also
working.

Am I doing something wrong when I split/unsplit the frame, or is this a bug
in wx.

Thanx
/Holmgren

begin 666 wxSplitterWindowTest.py
M:6UP;W)T('=X#0H-"F-L87-S($UA:6Y&<F%M92AW>"Y&<F%M92DZ#0H@(" @
M9&5F(%]?:6YI=%]?*'-E;&8L('!A<F5N="DZ#0H@(" @(" @('=X+D9R86UE
M+E]?:6YI=%]?*'-E;&8L('!A<F5N="P@+3$L("<N+BXG+"!S:7IE/7=X+E-I

F4H.# P+" V,# I*0T*(" @(" @("!S96QF+G-P;&ET=" ]('=X+E-P;&ET

M=&5R5VEN9&]W*'-E;&8L("TQ*0T*(" @(" @("!S96QF+G-P;&ET="Y3971-
M:6YI;75M4&%N95-I>F4H,C I#0H@(" @(" @('-E;&8N<W!L:71T+E-E=%-A
M<VA'<F%V:71Y*#$N,"D-"@T*(" @(" @("!S96QF+G!A;F5L,2 ]('=X+E!A
M;F5L*'-E;&8N<W!L:71T+" M,2D-"B @(" @(" @<V5L9BYP86YE;#$N4V5T
M0F%C:V=R;W5N9$-O;&]U<BAW>"Y#64%.*0T*(" @(" @("!S96QF+FUY0G5T
M=&]N(#T@=W@N0G5T=&]N*'-E;&8N<&%N96PQ+" M,2P@)U-P;&ET="<I#0H@
M(" @(" @('-E;&8N;7E"=71T;VXN0FEN9"AW>"Y%5E1?0E545$].+"!S96QF
M+F]N0G5T=&]N*0T*#0H@(" @(" @('-E;&8N<&%N96PR(#T@=W@N4&%N96PH
M<V5L9BYS<&QI='0L("TQ*0T*(" @(" @("!S96QF+G!A;F5L,BY3971"86-K
M9W)O=6YD0V]L;W5R*'=X+E)%1"D-"B @(" @(" @<V5L9BYP86YE;#(N2&ED
M92@I#0H-"B @(" @(" @<V5L9BYS<&QI='0N26YI=&EA;&EZ92AS96QF+G!A
M;F5L,2D-"B @(" @(" @<V5L9BYS<&QI='0N57!D871E4VEZ92@I#0H-"B @
M(" @(" @<V5L9BYT;V=G;&5&;&%G(#T@5')U90T*(" @(" @("!S96QF+D-E
M;G1R92AW>"Y"3U1(*0T*#0H@(" @9&5F(&]N0G5T=&]N*'-E;&8L(&5V96YT
M*3H-"B @(" @(" @:68@<V5L9BYT;V=G;&5&;&%G.@T*(" @(" @(" @(" @
M<V5L9BYS<&QI='1&<F%M92@I#0H@(" @(" @(" @("!S96QF+G1O9V=L949L
M86<@/2!&86QS90T*(" @(" @(" @(" @<V5L9BYM>4)U='1O;BY3971,86)E
M;"@G56Y3<&QI='0G*0T*(" @(" @("!E;'-E.@T*(" @(" @(" @(" @<V5L
M9BYU;E-P;&ET=$9R86UE*"D-"B @(" @(" @(" @('-E;&8N=&]G9VQE1FQA
M9R ](%1R=64-"B @(" @(" @(" @('-E;&8N;7E"=71T;VXN4V5T3&%B96PH
M)U-P;&ET="<I#0H-"B @("!D968@<W!L:71T1G)A;64H<V5L9BDZ#0H@(" @
M(" @('-E;&8N<W!L:71T+E-P;&ET2&]R:7IO;G1A;&QY*'-E;&8N<&%N96PQ
M+"!S96QF+G!A;F5L,BP@+34P*0T*#0H@(" @9&5F('5N4W!L:71T1G)A;64H
M<V5L9BDZ#0H@(" @(" @('-E;&8N<W!L:71T+D=E=%=I;F1O=S(H*2Y(:61E
M*"D-"B @(" @(" @<V5L9BYS<&QI='0N1V5T5VEN9&]W,2@I+DAI9&4H*0T*
M(" @(" @("!S96QF+G-P;&ET="Y5;G-P;&ET*"D-"B @(" @(" @<V5L9BYS
M<&QI='0N26YI=&EA;&EZ92AS96QF+G!A;F5L,2D-"B @(" @(" @<V5L9BYS
M<&QI='0N57!D871E4VEZ92@I#0H-"@T*8VQA<W,@5&5S="AW>"Y!<' I.@T*
M(" @(&1E9B!/;DEN:70H<V5L9BDZ#0H@(" @(" @('-E;&8N;6%I;B ]($UA
M:6Y&<F%M92A.;VYE*0T*(" @(" @("!S96QF+FUA:6XN4VAO=R@I#0H@(" @
M(" @(')E='5R;B!4<G5E#0H-"F1E9B!M86EN*"DZ#0H@(" @87!P;&EC871I
M;VX@/2!497-T*# I#0H@(" @87!P;&EC871I;VXN36%I;DQO;W H*0T*#0II
M9B!?7VYA;65?7R ]/2 G7U]M86EN7U\G.@T*(" @(&UA:6XH*0T*#0H-"@T*
(#0H-"@T*#0H`
`
end