mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 10:09:29 +02:00
LCL: gtk2: less hints
git-svn-id: trunk@46289 -
This commit is contained in:
parent
68c63595a9
commit
f1fd7c865a
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user