summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index 09802c57..05ed1af2 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -808,8 +808,8 @@ begin
writeln(' Blockmsg = True (part 1) : ' + PopupListFirst.ClassName);
{$ENDIF}
// This is ugly but needed for now to get TfpgCombobox to work
-// if PopupListFirst.ClassName <> 'TDropDownWindow' then
- if not (PopupListFirst is TfpgPopupWindow) then
+ if (PopupListFirst.ClassName <> 'TDropDownWindow') then
+// if not (PopupListFirst is TfpgPopupWindow) then
blockmsg := True;
end else
if (wapplication.TopModalForm <> nil) then