[python-win32] wxPython: wxSplitterWindow can not Unsplit or ReplaceWindow?

Dr. Wu Tao wu2000@ch.tum.de
Sat, 21 Dec 2002 15:41:58 +0100

Dear friends,

I meet a problem recently that in Win98 box I can change the content for
wxSplitterWindow.  The thing is, for the wxSplitterWindow object, splitte=
from document one could use :

splitter.ReplaceWindow(winobj1, winobj2)

to change one of its 2 childs, the winobj is changed, but then the applic=
crashed because a win32 error.

I also test another way from document of wxWindows,=20


then I split the splitter obj again. Thing is the same. "the winobj is
changed, but then the application crashed because a win32 error" :-(

I do not know if it is an error of myself(looks like, I try to figure it =
or a bug here. Does anyone have use this method in win32, or anyone know =
some work code for this two function?=20

best regards,



  Dr. Tao Wu
  Lehrstuhl fuer Theoretische Chemie
  TU Muenchen
  Lichtenbergstr. 4
  85747 Garching
  Tel.: +49 89 289 - 13609
  Fax.: +49 89 289 - 13622
  e-mail: wu2000@ch.tum.de