From f9ea03b65b8bf43301f9cf12600e4133700e5f1c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 2 Feb 2011 21:59:02 +1100 Subject: Made work on Carbon bymaking a simple form of ClearSelection that fits in command table. --- macosx/ScintillaMacOSX.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'macosx/ScintillaMacOSX.h') diff --git a/macosx/ScintillaMacOSX.h b/macosx/ScintillaMacOSX.h index 78dffe87f..df3e1c8e1 100644 --- a/macosx/ScintillaMacOSX.h +++ b/macosx/ScintillaMacOSX.h @@ -193,6 +193,9 @@ public: // Public for scintilla_send_message virtual void CreateCallTipWindow(PRectangle rc); virtual void AddToPopUp(const char *label, int cmd = 0, bool enabled = true); virtual void ClaimSelection(); + void ClearSelectionSimple() { + ClearSelection(); + } static sptr_t DirectFunction(ScintillaMacOSX *sciThis, unsigned int iMessage, uptr_t wParam, sptr_t lParam); -- cgit v1.2.3