cocoa: add ?-> to remember messages being used at runtime.

db4
John Benediktsson 2013-03-30 13:14:51 -07:00
parent d94977ac0c
commit a99f66f505
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,8 @@ SYMBOL: sent-messages
SYNTAX: -> scan-token dup remember-send suffix! \ send suffix! ;
SYNTAX: ?-> scan-token [ remember-send ] [ <selector> drop ] bi ;
SYMBOL: super-sent-messages
: remember-super-send ( selector -- )

View File

@ -151,6 +151,9 @@ CLASS: FactorView < NSOpenGLView NSTextInput
METHOD: void prepareOpenGL [
?-> setWantsBestResolutionOpenGLSurface:
?-> backingScaleFactor
self "setWantsBestResolutionOpenGLSurface:"
lookup-selector -> respondsToSelector: c-bool> [