From c274332afa3c5d28ae43fa280d60fa7c52d5666b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 6 Feb 2001 02:16:11 +0000 Subject: Made SCI_CANPASTE and EM_CANPASTE work correctly using IsClipboardFormatAvailable on Windows. --- src/Editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 0a37c8b8f..4e1ffc782 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -221,6 +221,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void Cut(); void PasteRectangular(int pos, const char *ptr, int len); virtual void Copy() = 0; + virtual bool CanPaste(); virtual void Paste() = 0; void Clear(); void SelectAll(); -- cgit v1.2.3