summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-01-10 13:00:20 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-01-10 13:00:20 +0200
commit20a8b28526e297e5190b842527b755432381241a (patch)
tree84611721382f98ac08c201fca7ce65eeb229acdf /src/corelib/gdi
parent93b87b388879046a78f4b56fccdf3e6f80bb5080 (diff)
downloadfpGUI-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/gdi')
-rw-r--r--src/corelib/gdi/fpg_gdi.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/gdi/fpg_gdi.pas b/src/corelib/gdi/fpg_gdi.pas
index e0d28521..9c89cd53 100644
--- a/src/corelib/gdi/fpg_gdi.pas
+++ b/src/corelib/gdi/fpg_gdi.pas
@@ -231,10 +231,10 @@ type
ActivationHook: HHOOK;
function GetHiddenWindow: HWND;
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;
@@ -1264,7 +1264,7 @@ begin
inherited Destroy;
end;
-function TfpgGDIApplication.DoMessagesPending: boolean;
+function TfpgGDIApplication.MessagesPending: boolean;
var
Msg: TMsg;
begin
@@ -1284,7 +1284,7 @@ begin
else
ltimerWnd := 0;
- if (atimeoutms >= 0) and (not DoMessagesPending) then
+ if (atimeoutms >= 0) and (not MessagesPending) then
begin
if Assigned(FOnIdle) then
OnIdle(self);