diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-15 11:11:12 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-15 11:11:12 +0200 |
commit | 4d32ba06c7dbba4d4092056b01e985c12ed2041f (patch) | |
tree | 92ee810ccce427a6fe2fc24e03865726aa4b4845 /src/corelib/gdi | |
parent | 59f9a7513fe58a046b789caf881e432b6f3abdea (diff) | |
download | fpGUI-4d32ba06c7dbba4d4092056b01e985c12ed2041f.tar.xz |
fpgApplication.OnIdle was never triggered under Windows.
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/fpg_gdi.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/gdi/fpg_gdi.pas b/src/corelib/gdi/fpg_gdi.pas index a9aa34a1..8780f7f6 100644 --- a/src/corelib/gdi/fpg_gdi.pas +++ b/src/corelib/gdi/fpg_gdi.pas @@ -1182,6 +1182,8 @@ begin if (atimeoutms >= 0) and (not DoMessagesPending) then begin + if Assigned(FOnIdle) then + OnIdle(self); if atimeoutms > 0 then timerid := Windows.SetTimer(ltimerWnd, 1, atimeoutms, nil) else |