mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
CtrlCore: Cocoa TopWindow Frameless support (fixes Docking)
git-svn-id: svn://ultimatepp.org/upp/trunk@12792 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
089f11b65e
commit
e447025fdb
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ void Ctrl::PopUp(Ctrl *owner, bool savebits, bool activate, bool dropshadow, boo
|
|||
|
||||
dword TopWindow::GetMMStyle() const
|
||||
{
|
||||
dword style = NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskResizable;
|
||||
dword style = 0;
|
||||
if(!frameless)
|
||||
style |= NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskResizable;
|
||||
if(minimizebox)
|
||||
style |= NSWindowStyleMaskMiniaturizable;
|
||||
// if(maximizebox)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue