diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-21 13:58:32 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-21 13:58:32 +0000 |
commit | 10bbbbb92387d85bff694007b73b3104710b0ad6 (patch) | |
tree | 9b8fac5ab5e31a3d86afc301642eda2a50f44593 /src/corelib/x11/gfx_x11.pas | |
parent | 35d6da8fd2ecbd015634c7bf56659f1415fb9f10 (diff) | |
download | fpGUI-10bbbbb92387d85bff694007b73b3104710b0ad6.tar.xz |
* GDI: Fixed popup window support.
* Improved menu painting with a bit of optimization.
* GDI: Implemented OnDoubleClick in TfpgWidget.
* Implemented DoubleClick in FileDialog (tested under Windows only)
* GDI: Fixed minor bug in DoWindowToScreen which prevented
popup windows from working.
Diffstat (limited to 'src/corelib/x11/gfx_x11.pas')
-rw-r--r-- | src/corelib/x11/gfx_x11.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas index 9f2d7c55..1ed0af85 100644 --- a/src/corelib/x11/gfx_x11.pas +++ b/src/corelib/x11/gfx_x11.pas @@ -1121,8 +1121,8 @@ var dy: integer; cw: TfpgWinHandle; begin -// if not HandleIsValid then -// Exit; //==> + if not ASource.HandleIsValid then + Exit; //==> XTranslateCoordinates(xapplication.display, TfpgWindowImpl(ASource).WinHandle, XDefaultRootWindow(xapplication.display), AScreenPos.X, AScreenPos.Y, @dx, @dy, @cw); |