Gtk2: Fix compliation on MacOS

This commit is contained in:
rich2014 2023-05-28 17:07:32 +08:00
parent 1d7346c7e9
commit 568a92fe1c

View File

@ -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