This commit is contained in:
vczh
2023-03-22 01:42:57 -07:00
parent fb56a80caa
commit 9f049de869
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -1579,7 +1579,7 @@ WindowsForm
void ShowDeactivated()override void ShowDeactivated()override
{ {
ShowWindow(handle, SW_SHOWNOACTIVATE); ShowWindow(handle, SW_SHOWNOACTIVATE);
SetWindowPos(handle,HWND_TOP,0,0,0,0,SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE); SetWindowPos(handle, HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);
} }
void ShowRestored()override void ShowRestored()override
-5
View File
@@ -9775,11 +9775,6 @@ GuiComboBoxListControl
{ {
clientSize.y = height; clientSize.y = height;
SetPreferredMenuClientSize(clientSize); SetPreferredMenuClientSize(clientSize);
if (GetSubMenuOpening())
{
subMenu->SetClientSize(clientSize);
}
} }
} }
} }