summaryrefslogtreecommitdiff
path: root/src/gui/fpg_iniutils.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2015-04-10 11:35:59 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2015-04-10 11:35:59 +0100
commitac1ade3e6c4c01e6e1137ab1514899e05169538e (patch)
tree100557240a04c2f3c827d3b2d52ab9e671d6a9ac /src/gui/fpg_iniutils.pas
parentdb31f06d5e7adf28fad60e36fd9e5d2cf0519e84 (diff)
downloadfpGUI-ac1ade3e6c4c01e6e1137ab1514899e05169538e.tar.xz
WinCE: fixes compilation errors for WinCE-ARM
* Disabled OLE support for WinCE * Disabled Drag-n-Drop support for WinCE * Fixed PChar vs PWidechar types * Fixed IFDEF's. Differences between MSWINDOWS, WINDOWS and WINCE.
Diffstat (limited to 'src/gui/fpg_iniutils.pas')
-rw-r--r--src/gui/fpg_iniutils.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/fpg_iniutils.pas b/src/gui/fpg_iniutils.pas
index 6bbe83bd..144b007e 100644
--- a/src/gui/fpg_iniutils.pas
+++ b/src/gui/fpg_iniutils.pas
@@ -203,7 +203,7 @@ begin
// If the form is off screen (positioned outside all monitor screens) then
// center the form on screen.
- //{$IFDEF MSWINDOWS}
+ //{$IFDEF WINDOWS}
//if (AForm.FormStyle <> fsMDIChild) {$IFNDEF FPC} and tiFormOffScreen(AForm) {$ENDIF} then
//begin
//if Assigned(Application.MainForm) and (Application.MainForm <> AForm) then
@@ -211,7 +211,7 @@ begin
//else
//AForm.Position:= poScreenCenter;
//end;
- //{$ENDIF MSWINDOWS}
+ //{$ENDIF WINDOWS}
end;
// Do NOT localize