You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
# Set the default stack to the target we're creating the object on
3460
3460
setthe defaultstack to revIDEStackOfObject(pTarget)
@@ -3478,10 +3478,10 @@ on revIDECreateObject pObjectTypeID, pTarget, pLoc
3478
3478
putround(the cTabButtonWidth of stack "revPreferences"/2), round(the cTabButtonHeight of stack "revPreferences"/2) intotCreateRect
3479
3479
putitem1oftCreateRect+the cTabButtonWidth of stack "revPreferences"intoitem3oftCreateRect
3480
3480
putitem2oftCreateRect+the cTabButtonHeight of stack "revPreferences"intoitem4oftCreateRect
3481
-
3481
+
3482
3482
local lDataGrid
3483
3483
puttrueinto lDataGrid -- select data grid at end not single control
3484
-
3484
+
3485
3485
unlock messages
3486
3486
# tObjectId is passed by reference and will have the data grid group id placed into it
3487
3487
addDataGridToStack theshort name of this stack, tCreateRect, empty, empty, tCreatedControlID
@@ -3509,6 +3509,17 @@ on revIDECreateObject pObjectTypeID, pTarget, pLoc
3509
3509
else
3510
3510
# Not a classic control
3511
3511
try
3512
+
ifpObjectTypeIDis"com.livecode.widget.native.map"andtheplatformis"MacOS"and (revIDEPlatformVersion() begins with"10.9"or revIDEPlatformVersion() begins with"10.10") then
3513
+
localtMessage
3514
+
put"The Mac MapKit API is supported from OS X 10.9 onwards, but Apple restricts use of the API on 10.9 and 10.10 to apps which are distributed from the Mac AppStore with an appropriate entitlement. "& \
3515
+
"Due to this, general use of the Map widget only supports OS X 10.11 onwards. "&CR&CR& \
3516
+
"However, you can still create a standalone with the Map widget on OSX 10.9 or 10.10 (of course you will see an empty grid rather than the actual map), "& \
3517
+
" BUT this standalone will run as expected on OSX 10.11 and above."intotMessage
0 commit comments