[wxGTK]:Subwindow doesn´t get size-events

Andreas Goebel a-goebel at gmx.de
Tue Apr 10 11:48:18 PDT 2007


Hi,

I have a wxGLCanvas inside a mainframe. There is, of course, a 
OnSize-Function that resizes the viewport when the window is resized.

On windows this works fine, whereas on wxGTK (version 2.7) the glCanvas 
is resized once on application startup, but then never again. Thus the 
viewport stays the same, and only part of the scene is seen.

For the mainwindow I do not have a OnSize-Function. Is this necessary (I 
would only do an event.skip() there anyway) on wxGTK? Or does someone 
have another idea?

Regards,

Andreas





More information about the wx-users mailing list