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