[wxVTK] wxVTKRWI, wxAuiManager and reparenting
Brought to you by:
malat
From: PHAM Quoc-C. 2. <Quo...@ce...> - 2008-08-23 20:27:24
|
Hi I use a wxVTKRenderWindowInteractor (1.3 and VTK 5.0.4) in a wxAuiManager pane (wxWidgets 2.8.7) (like in thread http://sourceforge.net/mailarchive/forum.php?thread_name=ba0d923e0804211200o65a12c6dtce4ccbf846bdd8ea%40mail.gmail.com&forum_name=wxvtk-users) The pane is dockable and when moving the pane, the application crashes with the following error: Gdk-ERROR **: The program 'BaliseDAM' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 7 error_code 3 request_code 2 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) aborting... It appears that the error occurs in the function Render() in the case of reparenting (indeed, wxAuiManager creates a floating frame that becomes the new parent) Any idea ? Quoc Cuong |