mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 13:15:00 -04:00
cursor issue
This commit is contained in:
parent
0054da14d1
commit
1088a9625c
@ -815,6 +815,9 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
|
#ifdef _DEBUG
|
||||||
|
wdxdisplay_cat.spam() << "WM_CLOSE received\n";
|
||||||
|
#endif
|
||||||
// close_window();
|
// close_window();
|
||||||
delete _pParentWindowGroup;
|
delete _pParentWindowGroup;
|
||||||
|
|
||||||
@ -2597,6 +2600,7 @@ void wdxGraphicsWindow::init_resized_window(void) {
|
|||||||
_dxgsg->dx_init(_pParentWindowGroup->_hMouseCursor);
|
_dxgsg->dx_init(_pParentWindowGroup->_hMouseCursor);
|
||||||
// do not SetDXReady() yet since caller may want to do more work before letting rendering proceed
|
// do not SetDXReady() yet since caller may want to do more work before letting rendering proceed
|
||||||
|
|
||||||
|
SetCursor(_pParentWindowGroup->_hMouseCursor);
|
||||||
set_cursor_visibility(true);
|
set_cursor_visibility(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user