Browse Source

+ added {$linkframework Carbon} to FPCMacOSAll so -k"-framework Carbon" is
not longer needed when using that unit
- removed the same statement from the Mac OS X graph unit (since it uses
FPCMacOSAll)

git-svn-id: trunk@10411 -

Jonas Maebe 17 years ago
parent
commit
dbc7e36007
2 changed files with 3 additions and 3 deletions
  1. 0 3
      packages/graph/src/macosx/graph.pp
  2. 3 0
      packages/univint/src/FPCMacOSAll.pas

+ 0 - 3
packages/graph/src/macosx/graph.pp

@@ -20,8 +20,6 @@ uses
   { the ones in the universal interfaces                              }
   FPCMacOSAll;
 
-{$linkframework Carbon}
-
 {$pascalmainname FPCMacOSXGraphMain}
 
 {$i graphh.inc}
@@ -768,7 +766,6 @@ begin
                         or kWindowInWindowMenuAttribute
                         or kWindowCompositingAttribute
                         or kWindowLiveResizeAttribute
-                        or kWindowInWindowMenuAttribute
                         or kWindowNoUpdatesAttribute; 
 
   SetRect (contentRect, 0,  0,

+ 3 - 0
packages/univint/src/FPCMacOSAll.pas

@@ -9,6 +9,9 @@
 
 unit FPCMacOSAll;
 interface
+
+{$linkframework Carbon}
+
 {$setc UNIVERSAL_INTERFACES_VERSION := $0342}
 {$setc GAP_INTERFACES_VERSION := $0200}