Show quoted text 11 lines
Vincent Snijders wrote:
> Hi,
>
> The latest changes to the interfacebase class changed
> AttachMenuToWindow(AMenu: TMenu) to AttachMenuToWindow(AMenuObject:
> TComponent).
>
> But the implementation in the win32object around line 1237 in
> win32object.inc still uses AMenu, and not AMenuObject. Therefore I can't
> compile the win32 interface. Can somebody (with CVS access) fix this?
Sorry. My cross compilation setup was broken, and so I couldn't test the win32 intf.
Fixed.
Mattias, could you explain the problem you were trying to solve? "fixed
unit circle", but afaik, it compiled cleanly before you made this
change? I also don't see any 'uses' units removed?
I removed "menus" from the interfacebase.pp uses section to break the circle. The circle appeared, when compiling with -dUseFPImage.
(Menus.pp needs Graphics.pp, which needs IntfGraphics.pp, which needs the Interfacebase.pp, so you can't use menus in InterfaceBase.pp)
Mattias