[lazarus] Patch: Menuitem.Owner = nil -> invalid type cast(win32)
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jun 26 10:24:22 EDT 2003
On Thu, 26 Jun 2003 16:35:09 +0200
"Micha Nelissen" <mdvpost at hotmail.com> wrote:
> Hi,
>
> Based on the assumption that the owner of a menuitem is a form, I
> recommend the following patch. It now checks whether there is a valid
> pointer and this is of type tcustomform, which is what DrawMenuBar
> expects.
>
> If Michael thinks it's OK, please commit.
I have changed it to use teh Menu.Parent. Please test if it works. My cross
compilation is not yet working. Lack of time. But I made some progress.
Mattias
More information about the Lazarus
mailing list