diff options
Diffstat (limited to 'cocoa')
| -rw-r--r-- | cocoa/ScintillaView.h | 3 | ||||
| -rw-r--r-- | cocoa/ScintillaView.mm | 15 | 
2 files changed, 18 insertions, 0 deletions
| diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index 356c34adb..78fe65666 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -131,6 +131,9 @@ extern NSString *SCIUpdateUINotification;  // Native call through to the backend.  + (sptr_t) directCall: (ScintillaView*) sender message: (unsigned int) message wParam: (uptr_t) wParam                 lParam: (sptr_t) lParam; +- (sptr_t) message: (unsigned int) message wParam: (uptr_t) wParam lParam: (sptr_t) lParam; +- (sptr_t) message: (unsigned int) message wParam: (uptr_t) wParam; +- (sptr_t) message: (unsigned int) message;  // Back end properties getters and setters.  - (void) setGeneralProperty: (int) property parameter: (long) parameter value: (long) value; diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index f5db0cee1..692ff3b5a 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1329,6 +1329,21 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa    return ScintillaCocoa::DirectFunction(sender->mBackend, message, wParam, lParam);  } +- (sptr_t) message: (unsigned int) message wParam: (uptr_t) wParam lParam: (sptr_t) lParam +{ +  return mBackend->WndProc(message, wParam, lParam); +} + +- (sptr_t) message: (unsigned int) message wParam: (uptr_t) wParam +{ +  return mBackend->WndProc(message, wParam, 0); +} + +- (sptr_t) message: (unsigned int) message +{ +  return mBackend->WndProc(message, 0, 0); +} +  //--------------------------------------------------------------------------------------------------  /** | 
