LCL-CustomDrawn-Cocoa: Fixes compilation

git-svn-id: trunk@37044 -
This commit is contained in:
sekelsenmat 2012-04-27 06:55:55 +00:00
parent e62f67750f
commit 3039cc08bb

View File

@ -740,7 +740,7 @@ begin
// Prepare the non-native image and canvas
UpdateControlLazImageAndCanvas(WindowHandle.Image,
WindowHandle.Canvas, lWidth, lHeight, clfRGB24UpsideDown);
DrawFormBackground(WindowHandle.Image, WindowHandle.Canvas);
DrawFormBackground(WindowHandle.Image, WindowHandle.Canvas, WindowHandle.LCLForm);
WindowHandle.Canvas.NativeDC := PtrInt(Context);
// Draw the form