mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 17:18:16 +02:00
Gtk2: fixed focusing TPanel when TabStop=True
git-svn-id: trunk@31561 -
This commit is contained in:
parent
7b6d0a6667
commit
07cbfe0925
@ -216,10 +216,11 @@ begin
|
||||
WidgetClient := CreateFixedClientWidget(True);
|
||||
|
||||
gtk_container_add(GTK_CONTAINER(Frame), WidgetClient);
|
||||
GTK_WIDGET_SET_FLAGS(Frame, GTK_CAN_FOCUS);
|
||||
|
||||
WidgetInfo := CreateWidgetInfo(Frame, AWinControl, AParams);
|
||||
WidgetInfo^.ClientWidget := WidgetClient;
|
||||
WidgetInfo^.CoreWidget := WidgetClient;
|
||||
WidgetInfo^.CoreWidget := Frame;
|
||||
WidgetInfo^.LCLObject := AWinControl;
|
||||
WidgetInfo^.Style := AParams.Style;
|
||||
WidgetInfo^.ExStyle := AParams.ExStyle;
|
||||
|
Loading…
Reference in New Issue
Block a user