mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:39:10 +02:00
gtk2: fixed crash with TSplitter with resizestyle = rsNone. issue #27559
git-svn-id: trunk@48041 -
This commit is contained in:
parent
a99c9eaabd
commit
429efee07e
@ -1374,6 +1374,8 @@ end;
|
||||
|
||||
procedure TGtk2WidgetSet.SetRubberBandRect(const ARubberBand: HWND; const ARect: TRect);
|
||||
begin
|
||||
if ARubberBand = 0 then
|
||||
exit;
|
||||
with ARect do
|
||||
gdk_window_move_resize({%H-}PGtkWidget(ARubberBand)^.window, Left,
|
||||
Top, Right - Left, Bottom - Top);
|
||||
|
Loading…
Reference in New Issue
Block a user