From 39d7a31ccf79bf11a9c1d01834ab7c0d324ecadb Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Fri, 8 Mar 2002 23:06:11 +0000 Subject: [PATCH] fix small bug --- panda/src/wdxdisplay/wdxGraphicsWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx index 182b74faae..751f4782d8 100644 --- a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx +++ b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx @@ -601,7 +601,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { return 0; case WM_ENTERSIZEMOVE: { - if(_dxgsg==NULL) + if(_dxgsg!=NULL) _dxgsg->SetDXReady(true); // dont disable here because I want to see pic as I resize _WindowAdjustingType = MovingOrResizing; } @@ -2491,7 +2491,7 @@ void wdxGraphicsWindow::handle_mouse_motion(int x, int y) { } //////////////////////////////////////////////////////////////////// -// Function: handle_mouse_entry +// Function: handle_mouse_exit // Access: // Description: ////////////////////////////////////////////////////////////////////