mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 01:09:50 +01:00
Gtk2: check if window is GDKWindow before processing of updates
git-svn-id: trunk@33934 -
This commit is contained in:
parent
0ac4424d78
commit
8522c6ff0b
@ -9333,7 +9333,8 @@ begin
|
||||
if GTK_WIDGET_DRAWABLE(CurWidget) then begin
|
||||
//DebugLn(['TGtk2WidgetSet.UpdateWindow DRAWING']);
|
||||
gtk_widget_queue_draw(CurWidget);
|
||||
gdk_window_process_updates(CurWidget^.window,TRUE);
|
||||
if GDK_IS_WINDOW(CurWidget^.Window) then
|
||||
gdk_window_process_updates(CurWidget^.window,TRUE);
|
||||
Result:=true;
|
||||
end else
|
||||
Result:=false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user