Commit 429efee0 authored by Željan Rikalo's avatar Željan Rikalo 🏊🏼
Browse files

gtk2: fixed crash with TSplitter with resizestyle = rsNone. issue #27559

git-svn-id: trunk@48041 -
parent a99c9eaa
......@@ -1374,6 +1374,8 @@ end;
procedure TGtk2WidgetSet.SetRubberBandRect(const ARubberBand: HWND; const ARect: TRect);
if ARubberBand = 0 then
with ARect do
gdk_window_move_resize({%H-}PGtkWidget(ARubberBand)^.window, Left,
Top, Right - Left, Bottom - Top);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment