aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index 3eaf17665..7c70b2e60 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -1456,7 +1456,7 @@ void ScintillaCocoa::StartDrag()
// the full rectangle which may include non-selected text.
NSBitmapImageRep* bitmap = NULL;
- CGImageRef imagePixmap = pixmap.GetImage();
+ CGImageRef imagePixmap = pixmap.CreateImage();
if (imagePixmap)
bitmap = [[[NSBitmapImageRep alloc] initWithCGImage: imagePixmap] autorelease];
CGImageRelease(imagePixmap);