diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-01-10 13:00:20 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-01-10 13:00:20 +0200 |
commit | 20a8b28526e297e5190b842527b755432381241a (patch) | |
tree | 84611721382f98ac08c201fca7ce65eeb229acdf /src/corelib/x11 | |
parent | 93b87b388879046a78f4b56fccdf3e6f80bb5080 (diff) | |
download | fpGUI-20a8b28526e297e5190b842527b755432381241a.tar.xz |
DoMessagesPending() renamed to MessagesPending()
Also made MessagesPending() a virtual abstract method in fpg_base.pas
which every fpGUI backend must supply an implementation.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index e66f9344..afde5ed2 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -311,10 +311,10 @@ type InputContext: PXIC; FLastKeySym: TKeySym; // Used for KeyRelease event function DoGetFontFaceList: TStringList; override; + function MessagesPending: boolean; override; public constructor Create(const AParams: string); override; destructor Destroy; override; - function DoMessagesPending: boolean; procedure DoWaitWindowMessage(atimeoutms: integer); procedure DoFlush; function GetScreenWidth: TfpgCoord; override; @@ -1363,7 +1363,7 @@ begin inherited Destroy; end; -function TfpgX11Application.DoMessagesPending: boolean; +function TfpgX11Application.MessagesPending: boolean; begin Result := (XPending(display) > 0); fpgCheckTimers; |