mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
Gtk2: Fix compliation on MacOS
This commit is contained in:
parent
1d7346c7e9
commit
568a92fe1c
@ -1055,7 +1055,9 @@ begin
|
||||
FMainPoll := nil;
|
||||
if not FIsLibraryInstance then
|
||||
begin
|
||||
{$IFDEF HASX}
|
||||
FWSFrameRect := Rect(0, 0, 0, 0);
|
||||
{$ENDIF}
|
||||
Gtk2MPF := g_main_context_get_poll_func(g_main_context_default);
|
||||
g_main_context_set_poll_func(g_main_context_default, @Gtk2PollFunction);
|
||||
end else
|
||||
|
Loading…
Reference in New Issue
Block a user