diff --git a/bindings/pascocoa/examples/simplewindow/simplewindow.lpi b/bindings/pascocoa/examples/simplewindow/simplewindow.lpi
index d23a82071..dfd7b4709 100644
--- a/bindings/pascocoa/examples/simplewindow/simplewindow.lpi
+++ b/bindings/pascocoa/examples/simplewindow/simplewindow.lpi
@@ -11,7 +11,7 @@
-
+
@@ -28,13 +28,13 @@
-
+
-
-
+
+
@@ -382,14 +382,29 @@
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/bindings/pascocoa/examples/simplewindow/simplewindow.pas b/bindings/pascocoa/examples/simplewindow/simplewindow.pas
index c991e225c..9ac91ae06 100644
--- a/bindings/pascocoa/examples/simplewindow/simplewindow.pas
+++ b/bindings/pascocoa/examples/simplewindow/simplewindow.pas
@@ -46,9 +46,9 @@ begin
MainWindowRect.size.width := 300.0;
MainWindowRect.size.height := 500.0;
- MainWindow := NSWindow.initWithContentRect(MainWindowRect,
+ MainWindow := NSWindow.initWithContentRect_styleMask_backing_defer(MainWindowRect,
NSTitledWindowMask or NSClosableWindowMask or NSMiniaturizableWindowMask or NSResizableWindowMask,
- NSBackingStoreBuffered, NO);
+ NSBackingStoreBuffered, LongBool(NO));
{ Initializes the title of the window }
diff --git a/bindings/pascocoa/examples/statusitem/statusitem.lpi b/bindings/pascocoa/examples/statusitem/statusitem.lpi
index 21463f798..2300ea993 100644
--- a/bindings/pascocoa/examples/statusitem/statusitem.lpi
+++ b/bindings/pascocoa/examples/statusitem/statusitem.lpi
@@ -7,7 +7,7 @@
-
+
@@ -48,17 +48,14 @@
-
-
+
-
-
@@ -161,18 +158,16 @@
-
-
+
+
-
-
-
+
+
-
@@ -226,11 +221,9 @@
-
+
-
-
@@ -308,7 +301,7 @@
-
+
@@ -375,11 +368,9 @@
-
+
-
-
@@ -392,17 +383,15 @@
-
+
-
+
-
-
@@ -417,7 +406,7 @@
-
+
@@ -426,14 +415,6 @@
-
-
-
-
-
-
-
-