On Tue, 29 Apr 2008 17:45:37 -0300
"Carlos German Tejero" <[EMAIL PROTECTED]> wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to thread 2984.0x24c]
> 0x0000000000bcc8a8 in RTTI_CLASSES_TCOMPONENT ()
> (gdb) backtrace
> #0  0x0000000000bcc8a8 in RTTI_CLASSES_TCOMPONENT ()
> #1  0x0000000000526c5d in TWINCONTROL__HANDLENEEDED (this=0x7ed5de0)
>     at wincontrol.inc:6850
> #2  0x0000000000524845 in TWINCONTROL__GETHANDLE (this=0x7ed5de0)
>     at wincontrol.inc:5784
> #3  0x00000000005cb3ad in TWIN32WIDGETSET__ATTACHMENUTOWINDOW (
>     AMENUOBJECT=0x7ed2e60, this=0x113700) at win32object.inc:492
> #4  0x000000000041f31e in TCUSTOMFORM__SETMENU (VALUE=0x7ed2e60,
>     this=0x9296640) at customform.inc:1174

Thanks.

The bug is in the win32 interface:
TWin32WidgetSet.AttachMenuToWindow

I changed it. Please test, if this fixes it.

Mattias
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to