:Subwindow doesn´t get size-events
Andreas Goebel
a-goebel at gmx.de
Fri Apr 13 06:39:35 PDT 2007
Vadim Zeitlin schrieb:
> On Thu, 12 Apr 2007 23:29:50 +0200 Andreas Goebel <a-goebel at gmx.de> wrote:
>
> AG> It is very strange: Now I do get size-events, but only up to a size of
> AG> 398 x 692. Sizes below that are ignored, my GLCanvas doesn´t get any
> AG> sizes smaller than that.
> AG>
> AG> This is the size the GLCanvas was originally constructed with (it´s
> AG> inside a sizer
>
> You should probably call SetItemMinSize() with its minimal acceptable size
> if you want it to get smaller.
>
> Regards,
> VZ
>
Thank you,
I used a fixed minSize, and then the problem went away.
It´s always hard to guess whats wrong, when the code works on one
platform and not on the other.
The GL Canvas works better than before, though. There was a problem that
the image was blurred untill the first resize, this is gone.
Regards,
Andreas
More information about the wx-users
mailing list