Added aldacron's ghost window fix, a ShowWindow(hwnd, SW_HIDE) before destroying the window

This commit is contained in:
Elias Naur 2004-02-10 08:31:38 +00:00
parent 6917a1e1de
commit 883149878b
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ static void closeWindow()
// Close the window // Close the window
if (hwnd != NULL) { if (hwnd != NULL) {
ShowWindow(hwnd, SW_HIDE);
printfDebug("Destroy window\n"); printfDebug("Destroy window\n");
// Vape the window // Vape the window
DestroyWindow(hwnd); DestroyWindow(hwnd);