... you just have to create a new form with FormDesigner and draw the Scintilla gadget. That's all.
The machine ist Intel based, macOS High Sierra, v 10.13.6
The linker error using PB 6.10 LTS and PB 6.11 LTS (ScintillaGadget) is:
"Undefined symbols for architecture x86_64:
"___isPlatformVersionAtLeast", referenced from:
-[SCIContentView initWithFrame:] in libpbscintilla_cocoa.a(ScintillaView.o)
Scintilla::Internal::ScintillaCocoa::StartDrag() in libpbscintilla_cocoa.a(ScintillaCocoa.o)
Scintilla::Internal::ScintillaCocoa::DraggingUpdated(id<NSDraggingInfo>) in libpbscintilla_cocoa.a(ScintillaCocoa.o)
Scintilla::Internal::ScintillaCocoa::PerformDragOperation(id<NSDraggingInfo>) in libpbscintilla_cocoa.a(ScintillaCocoa.o)
Scintilla::Internal::ScintillaCocoa::UpdateBaseElements() in libpbscintilla_cocoa.a(ScintillaCocoa.o)
By the way: Closing PB 6.11 after this message is not possible - hangs ...
The generated code by formdesigner is:
Code: Select all
;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, but anything else will be dropped when the code is compiled.
; Event procedures needs to be put in another source file.
;
Enumeration FormWindow
#Window_0
EndEnumeration
Enumeration FormGadget
#Scintilla_0
EndEnumeration
Procedure OpenWindow_0(x = 0, y = 0, width = 528, height = 425)
OpenWindow(#Window_0, x, y, width, height, "", #PB_Window_SystemMenu)
ScintillaGadget(#Scintilla_0, 240, 78, 193, 248, @Callback_Scintilla_0())
EndProcedure
Procedure Window_0_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure
The linker error using PB 6.10 LTS (WebViewGadget) is:
"Undefined symbols for architecture x86_64:
"___isPlatformVersionAtLeast", referenced from:
webview::detail::cocoa_wkwebview_engine::create_window() in libpbwebview.a(webview.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"