Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ elif [ "x${MODEL}" = "xarm64" ] || [ "x${MODEL}" = "xaarch64" ]; then
fi
fi

export MACOSX_DEPLOYMENT_TARGET=10.10
export MACOSX_DEPLOYMENT_TARGET=11

make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ AWT_OBJECTS = swt_awt.o

#SWT_DEBUG = -g
CFLAGS = -c -xobjective-c -Wall $(ARCHS) $(SWT_DEBUG) -DUSE_ASSEMBLER -DCOCOA -DATOMIC \
-Wunguarded-availability \
-I $(SWT_JAVA_HOME)/include \
-I $(SWT_JAVA_HOME)/include/darwin \
-I /System/Library/Frameworks/Cocoa.framework/Headers \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,8 @@ protected void create (DeviceData data) {
}

void createDisplay (DeviceData data) {
if (OS.VERSION < OS.VERSION (10, 10, 0)) {
System.out.println ("***WARNING: SWT requires MacOS X version 10.10 or greater"); //$NON-NLS-1$
if (OS.VERSION < OS.VERSION (11, 0, 0)) {
System.out.println ("***WARNING: SWT requires macOS version 11 or greater"); //$NON-NLS-1$
error(SWT.ERROR_NOT_IMPLEMENTED);
}

Expand Down Expand Up @@ -2522,10 +2522,10 @@ public void run() {

/**
* Checks if the native item height should be enforced as a minimum (which is true by default).
*
*
* Newer version of macOS may use a default item height in Table, Tree and List
* controls that is larger than what is traditionally expected.
*
*
* Enforcing the default height as a minimum may break existing assumptions and
* render UI elements with a padding that may be considered too large.
*/
Expand Down
Loading