Skip to content

Commit

Permalink
TextView with RichText working on macOS build 3778, v.1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
frang75 committed Jun 5, 2022
1 parent c2e8ed5 commit 6450fe9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prj/CMakeCompilers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

# Libraries
set(COCOA_LIB ${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/Cocoa.framework)
string(COMPARE GREATER_EQUAL ${OSX_SDK_NAME} "12.0" USE_UTTYPE)
string(COMPARE GREATER_EQUAL ${CMAKE_OSX_DEPLOYMENT_TARGET} "12.0" USE_UTTYPE)
if (USE_UTTYPE)
set(COCOA_LIB ${COCOA_LIB};${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/UniformTypeIdentifiers.framework)
endif()
Expand Down
2 changes: 1 addition & 1 deletion prj/build.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3776
3778
2 changes: 1 addition & 1 deletion src/osgui/osx/ostext.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ @interface OSXTextView : NSTextView
real32_t pafter;
real32_t pbefore;
NSScrollView *scroll;
NSMutableDictionary<NSAttributedStringKey, id> *dict;
NSMutableDictionary *dict;
BOOL is_editable;
BOOL is_opaque;
}
Expand Down

0 comments on commit 6450fe9

Please sign in to comment.