diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-21 14:40:43 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-21 14:40:43 +0000 |
commit | 7d0c8c60a7ff5e6f0b25a99073ca034ef028d798 (patch) | |
tree | d3142ceb3be18d5b7ecb69a04cc41250f077ca9b /src/corelib/gdi | |
parent | 10bbbbb92387d85bff694007b73b3104710b0ad6 (diff) | |
download | fpGUI-7d0c8c60a7ff5e6f0b25a99073ca034ef028d798.tar.xz |
* minor fix
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/gfx_gdi.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index f6a2dbb3..1b8d82c0 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -1008,7 +1008,7 @@ end; function TfpgWindowImpl.DoWindowToScreen(ASource: TfpgWindowBase; const AScreenPos: TPoint): TPoint; begin - if not ASource.HandleIsValid then + if not TfpgWindowImpl(ASource).HandleIsValid then Exit; //==> Result.X := AScreenPos.X; |