From f049d742f3a3ba151a5f1d319ff7b45aac9b298d Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 21 May 2007 08:31:03 +0000 Subject: [PATCH] gtk intf: DeleteObject does not raise an exception, if trying to free an object which is still used, but only gives a warning git-svn-id: trunk@11172 - --- lcl/interfaces/gtk/gtkwinapi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/gtk/gtkwinapi.inc b/lcl/interfaces/gtk/gtkwinapi.inc index 83282bc6a5..fcb744fb07 100644 --- a/lcl/interfaces/gtk/gtkwinapi.inc +++ b/lcl/interfaces/gtk/gtkwinapi.inc @@ -2422,7 +2422,7 @@ function TGtkWidgetSet.DeleteObject(GDIObject: HGDIOBJ): Boolean; DebugLn(['No DC found with this GDIObject => either the DCCount is wrong or the DC is not in the DC list']); end; //DumpStack; - RaiseGDBException(''); + //RaiseGDBException(''); end; procedure RaiseInvalidGDIOwner;