:Subwindow doesn´t get size-events
Andreas Goebel
a-goebel at gmx.de
Thu Apr 12 14:29:50 PDT 2007
Hello Vadim,
I have now successfully built my (rather big) application on a freshly
set up SuSE 10.2 with the cvs from today.
The GLCanvas works better, but not perfectly.
It is very strange: Now I do get size-events, but only up to a size of
398 x 692. Sizes below that are ignored, my GLCanvas doesn´t get any
sizes smaller than that.
This is the size the GLCanvas was originally constructed with (it´s
inside a sizer, but the very first size-event has this size). Maybe
there is an if in the code that says: No sense making it smaller than it
was at construction, so don´t even send it?
For the larger sizes, my code works as expected (resizing the viewport
and doing some corrections to keep a valid aspect ratio).
(i did cout the sizes, so I am sure that for smaller sizes I do not get
wrong sizes but _no_ sizes at all!)
Thank you for the corrections, maybe you get an idea about where this
strange problem may come from.
Regards,
Andreas
More information about the wx-users
mailing list