X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FWin32.cc;h=acc51bd8a576b11d5dacdcf95390f9a7c34fcb62;hb=989f6e599eea3c055f5693bb13062152b358ce3d;hp=f3f5fd7d6923777188ad90c017870c194b49ee56;hpb=8d4cf9930b8d25dba85acaeea1e7f2b09cf1c272;p=org.ibex.core.git diff --git a/src/org/xwt/plat/Win32.cc b/src/org/xwt/plat/Win32.cc index f3f5fd7..acc51bd 100644 --- a/src/org/xwt/plat/Win32.cc +++ b/src/org/xwt/plat/Win32.cc @@ -53,8 +53,6 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) { return (LRESULT)surface->WndProc((jint)hwnd, (jint)iMsg, (jint)wParam, (jint)lParam); } else { - java::lang::System::out->print(JvNewStringLatin1("miss on hwnd ")); - java::lang::System::out->println((jint)hwnd); // this is really lame -- Win32 insists on being able to call your WndProc BEFORE CreateWindow returns... return DefWindowProc(hwnd, iMsg, wParam, lParam); } @@ -745,7 +743,6 @@ jint org::xwt::plat::Win32$Win32Surface::WndProc(jint _hwnd, jint _iMsg, jint _w PAINTSTRUCT ps; BeginPaint((HWND)org::xwt::plat::Win32$Win32Surface::hwnd, &ps); Dirty(ps.rcPaint.left, ps.rcPaint.top, ps.rcPaint.right - ps.rcPaint.left, ps.rcPaint.bottom - ps.rcPaint.top); - Refresh(); EndPaint((HWND)org::xwt::plat::Win32$Win32Surface::hwnd, &ps); return 0;