From b1881506db03ae8c30647ad6812d26348b6e3f3a Mon Sep 17 00:00:00 2001 From: graemeg Date: Sat, 18 Aug 2007 22:45:51 +0000 Subject: * Moved and renamed gui_popupwindows.pas unit from GUI to CoreLib. * X11: Completed popup window support. * GUI: Amended TfpgComboBox to rather use a popup window for the dropdown portion of the control. * The previous change fixed the issue in the FileDialog where you couldn't select a combo box item with the mouse. --- src/corelib/gdi/gfx_gdi.pas | 5 +++-- src/corelib/gdi/gfx_impl.pas | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 src/corelib/gdi/gfx_impl.pas (limited to 'src/corelib/gdi') diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas index 83b25bbf..ed1f9e15 100644 --- a/src/corelib/gdi/gfx_gdi.pas +++ b/src/corelib/gdi/gfx_gdi.pas @@ -10,7 +10,8 @@ uses Windows, Classes, SysUtils, - gfxbase; + gfxbase, + gfx_impl; { Constants missing on windows unit } const @@ -24,7 +25,7 @@ var type - TfpgWinHandle = HWND; +// TfpgWinHandle = HWND; TfpgGContext = HDC; type diff --git a/src/corelib/gdi/gfx_impl.pas b/src/corelib/gdi/gfx_impl.pas new file mode 100644 index 00000000..2f8eddf2 --- /dev/null +++ b/src/corelib/gdi/gfx_impl.pas @@ -0,0 +1,16 @@ +unit gfx_impl; + +{$mode objfpc}{$H+} + +interface + +uses + Windows; + +type + TfpgWinHandle = HWND; + +implementation + +end. + -- cgit v1.2.3-70-g09d2