Re: :Subwindow doesn´t get size-events

Andreas support at raumgeometrie.de
Tue Apr 10 14:52:07 PDT 2007


On 10 Apr., 20:48, a-goe... at gmx.de (Andreas Goebel) wrote:
> 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.
>

Hi,

I have now seen when searching for this topic that there definitely
seems to be something wrong with the GLCanvas on the GTK-Port. It
seems that the resizing does not work.
I even tried to implement the SetViewport into my render-method, which
didn´t work either. The viewport just stayed the same.


Regards,

Andreas







More information about the wx-users mailing list