LCL: gtk2: less hints

git-svn-id: trunk@46289 -
This commit is contained in:
mattias 2014-09-22 11:45:59 +00:00
parent 68c63595a9
commit f1fd7c865a
2 changed files with 2 additions and 2 deletions

View File

@ -877,7 +877,7 @@ begin
else
PS^.rcPaint := GtkPaintMsg.Data.Rect;
Result.DC := BeginPaint(THandle(PtrUInt(Widget)), PS^);
Result.DC := BeginPaint(THandle({%H-}PtrUInt(Widget)), PS^);
Result.PaintStruct := PS;
Result.Result := 0;
if FreeGtkPaintMsg then

View File

@ -83,7 +83,7 @@ var
MenuWidget: PGtkWidget = nil;
function Gtk2MenuItemButtonPress(widget: PGtkWidget; event: PGdkEventButton;
{%H-} user_data: gpointer): gboolean; cdecl;
{%H-}user_data: gpointer): gboolean; cdecl;
var
Parent: PGtkWidget;
WidgetInfo: PWidgetInfo;