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:
cxl 2018-01-23 13:06:01 +00:00
parent 152dc1fafd
commit 9d5532f0a9

View file

@ -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;