diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-14 13:21:12 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-23 16:24:33 +0200 |
commit | 166941caab1f4ff98b130759f1d25ce746bdff82 (patch) | |
tree | 1b8f941cc53460aa62578def5fab053c64f410f2 /src/corelib/x11 | |
parent | b70ae03bce376be0d574933677a9f937c4b02886 (diff) | |
download | fpGUI-166941caab1f4ff98b130759f1d25ce746bdff82.tar.xz |
X11: No need to reference xapplication because this method is inside TfpgX11Application already
Diffstat (limited to 'src/corelib/x11')
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index 1065a45e..7a600753 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -1511,7 +1511,7 @@ begin begin // This is ugly!!!!!!!!!!!!!!! ew := TfpgX11Window(WidgetParentForm(TfpgWidget(w))); - if (ew <> nil) and (xapplication.TopModalForm <> ew) and (waUnblockableMessages in ew.WindowAttributes = False) then + if (ew <> nil) and (TopModalForm <> ew) and (waUnblockableMessages in ew.WindowAttributes = False) then blockmsg := true; end; |