From da4f98733fa1b1ea07eed51406ca5c313f2477d5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 10 Jul 2011 11:35:30 +1000 Subject: Don't allow buffered drawing to be turned on as it doesn't work. --- cocoa/ScintillaCocoa.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 1d6432b00..6f3e711a3 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -529,6 +529,9 @@ sptr_t ScintillaCocoa::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPar [[ContentView() window] makeFirstResponder:ContentView()]; break; + case SCI_SETBUFFEREDDRAW: + // Buffered drawing not supported on Cocoa + bufferedDraw = false; break; case WM_UNICHAR: -- cgit v1.2.3