mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: In Windows, owned windows now have minimize box disabled (as minimizing of owned windows leads to really strange behaviour)
git-svn-id: svn://ultimatepp.org/upp/trunk@11721 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
152dc1fafd
commit
9d5532f0a9
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ void TopWindow::SyncCaption()
|
|||
style |= WS_CAPTION;
|
||||
if(hasdhctrl)
|
||||
style |= WS_CLIPSIBLINGS|WS_CLIPCHILDREN;
|
||||
if(minimizebox)
|
||||
if(minimizebox && !GetOwner())
|
||||
style |= WS_MINIMIZEBOX;
|
||||
if(maximizebox)
|
||||
style |= WS_MAXIMIZEBOX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue