wxWidgets bug: Resizing form while moving it

10 views
Skip to first unread message

Lodle

unread,
Oct 25, 2009, 12:15:52 AM10/25/09
to wx-users
Hey all,

Trying to nut out all the little bugs before i release my project and
i have one quite annoying bug. If your moving a form and the form trys
to resize it self for some reason the resize event gets ignored and
the form keeps the old size. This is quite annoying.

Any tips on how to fix this?

Jaakko Salli

unread,
Oct 25, 2009, 2:54:02 AM10/25/09
to wx-u...@googlegroups.com

Hi Lodle,

One thing is that you probably need to call event.Skip() in all of your
EVT_SIZE handlers.

HTH,
Jaakko

Lodle

unread,
Nov 1, 2009, 8:18:54 AM11/1/09
to wx-users
Im not catching the resize event. Ill see if i can make a test app
that has the bug in it.

Lodle

unread,
Nov 7, 2009, 11:42:55 PM11/7/09
to wx-users
Made a sample application that shows this bug. http://lodle.net/public/window_resize_bug.rar


So while the timer is counting down, move the window around and once
it hits zero it will try to resize the form. It will resize then
revert as the next move event comes in.

Lodle

unread,
Nov 11, 2009, 8:53:51 PM11/11/09
to wx-users
Hmmm. Does any one have an idea on how to fix this?
Reply all
Reply to author
Forward
0 new messages