From 677b804b810d8836fbf3c54118138c5a03c882ba Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:49:45 +0000 Subject: [PATCH] 2002/08/07 04:41:10 darcs-hash:20040130064945-2ba56-f9604a9710d5267660d0dd58c2bada6fdcec4973.gz --- src/org/xwt/plat/Win32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/xwt/plat/Win32.cc b/src/org/xwt/plat/Win32.cc index 851bc4a..a286863 100644 --- a/src/org/xwt/plat/Win32.cc +++ b/src/org/xwt/plat/Win32.cc @@ -613,7 +613,7 @@ void org::xwt::plat::Win32$Win32Surface::natInit(jboolean framed) { hdc = (jint)GetDC((HWND)hwnd); } -void org::xwt::plat::Win32$Win32Surface::finalize() { DeleteObject((void*)hwnd); } +void org::xwt::plat::Win32$Win32Surface::finalize() { /* DeleteObject((void*)hwnd); */ } void org::xwt::plat::Win32$Win32Surface::toFront() { BringWindowToTop((HWND)hwnd); } void org::xwt::plat::Win32$Win32Surface::toBack() { SetWindowPos((HWND)hwnd, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); } void org::xwt::plat::Win32$Win32Surface::_dispose() { PostMessage((HWND)hwnd, WM_USER_DISPOSE, 0, 0); } -- 1.7.10.4