summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-19 11:29:09 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-19 11:29:09 +0000
commitbc39a240f7d7f06336b657b364b7ba02237361d0 (patch)
tree241cd616715a02f9962c60d7f29a78bebc58e8cd
parentf169a6e98f3866cf39a4463ea1815abb72b84301 (diff)
downloadfpGUI-bc39a240f7d7f06336b657b364b7ba02237361d0.tar.xz
* ComboBox and CalendarCombo now work identical under Linux and Windows. Combos close when clicking in the main combo area. Testing Win2000 and Linux.
-rw-r--r--src/corelib/gdi/gfx_gdi.pas1
-rw-r--r--src/gui/gui_combobox.pas1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index 9ceb9e44..a1358b4b 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -637,7 +637,6 @@ begin
(uMsg = WM_LBUTTONDOWN) then
begin
ClosePopups;
-// fpgSendMessage(nil, mw, FPGM_POPUPCLOSE);
end;
end; { if }
end;
diff --git a/src/gui/gui_combobox.pas b/src/gui/gui_combobox.pas
index 392daacb..3b88ae28 100644
--- a/src/gui/gui_combobox.pas
+++ b/src/gui/gui_combobox.pas
@@ -416,7 +416,6 @@ begin
{$IFDEF DEBUG}
writeln('.... destroying');
{$ENDIF}
- // This actually never gets reached!!! Debug and test if this is still needed.
FBtnPressed := False;
ddw := TComboboxDropdownWindow(FDropDown);
ddw.Close;