From ef279cefc1996762598898f4cf81e5c3b2ce65f3 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sun, 29 Dec 2002 18:13:52 +0000 Subject: [PATCH] This patch fixes the failure on Win2000 related to Bochs new icon problem. --- bochs/patches/win32-icon.patch | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100755 bochs/patches/win32-icon.patch diff --git a/bochs/patches/win32-icon.patch b/bochs/patches/win32-icon.patch new file mode 100755 index 000000000..fbc9e0231 --- /dev/null +++ b/bochs/patches/win32-icon.patch @@ -0,0 +1,56 @@ +---------------------------------------------------------------------- +Patch name: Bochs Icon Problem Fix +Author: Volker Ruppert [Volker.Ruppert@t-online.de] +Date: + +Detailed description: + + This patch fixes the failure on Win2000 related + to Bochs new icon problem. + +Patch was created with: + cvs diff -u +Apply patch to what version: + cvs checked out on DATE, release version VER +Instructions: + To patch, go to main bochs directory. + Type "patch -p0 < THIS_PATCH_FILE". +---------------------------------------------------------------------- +diff -urNX /home/volker/exclude-diffw --strip-trailing-cr +/home/volker/bochs/gui/win32.cc ./gui/win32.cc +--- ../bochs/gui/win32.cc 2002-12-26 19:24:40.000000000 +0100 ++++ ./gui/win32.cc 2002-12-29 09:40:24.000000000 +0100 +@@ -376,12 +376,11 @@ + VOID UIThread(PVOID pvoid) { + MSG msg; + HDC hdc; +- WNDCLASSEX wndclass; ++ WNDCLASS wndclass; + RECT wndRect, wndRect2; + + workerThreadID = GetCurrentThreadId(); + +- wndclass.cbSize = sizeof (wndclass); + wndclass.style = CS_HREDRAW | CS_VREDRAW; + wndclass.lpfnWndProc = mainWndProc; + wndclass.cbClsExtra = 0; +@@ -393,9 +392,8 @@ + wndclass.lpszMenuName = NULL; + wndclass.lpszClassName = szAppName; + +- RegisterClassEx (&wndclass); ++ RegisterClass (&wndclass); + +- wndclass.cbSize = sizeof (wndclass); + wndclass.style = CS_HREDRAW | CS_VREDRAW; + wndclass.lpfnWndProc = simWndProc; + wndclass.cbClsExtra = 0; +@@ -407,7 +405,7 @@ + wndclass.lpszMenuName = NULL; + wndclass.lpszClassName = "SIMWINDOW"; + +- RegisterClassEx (&wndclass); ++ RegisterClass (&wndclass); + + stInfo.mainWnd = CreateWindow (szAppName, + szWindowName,