aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.mm
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2022-05-18 19:35:01 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2022-05-18 19:35:01 +1000
commitcc60845e2e6ae075254e56a1ca2e488b43e131df (patch)
tree2a8fc64181dbacb8e30e96deedd6d43d16bd9e41 /cocoa/PlatCocoa.mm
parent8fefa3eec812cab9d07ff37ce04cb3d6ba70f29c (diff)
downloadscintilla-mirror-cc60845e2e6ae075254e56a1ca2e488b43e131df.tar.gz
Bug [#2329] Place autocompletion lists and calltips on a higher window level
so they can be seen when invoked from a modal dialog.
Diffstat (limited to 'cocoa/PlatCocoa.mm')
-rw-r--r--cocoa/PlatCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index d139a4084..a105eafad 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1952,7 +1952,7 @@ void ListBoxImpl::Create(Window & /*parent*/, int /*ctrlID*/, Scintilla::Interna
styleMask: NSWindowStyleMaskBorderless
backing: NSBackingStoreBuffered
defer: NO];
- [winLB setLevel: NSFloatingWindowLevel];
+ [winLB setLevel: NSModalPanelWindowLevel+1];
[winLB setHasShadow: YES];
NSRect scRect = NSMakeRect(0, 0, lbRect.size.width, lbRect.size.height);
scroller = [[NSScrollView alloc] initWithFrame: scRect];