debug out, comment

This commit is contained in:
David Rose 2003-11-21 07:05:34 +00:00
parent 211cf35eb5
commit 79e76c5b57
1 changed files with 8 additions and 5 deletions

View File

@ -640,11 +640,12 @@ track_mouse_leaving(HWND hwnd) {
////////////////////////////////////////////////////////////////////
LONG WinGraphicsWindow::
window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
/*
cerr << ClockObject::get_global_clock()->get_real_time()
<< " window_proc(" << (void *)this << ", " << hwnd << ", "
<< msg << ", " << wparam << ", " << lparam << ")\n";
*/
if (windisplay_cat.is_spam()) {
windisplay_cat.spam()
<< ClockObject::get_global_clock()->get_real_time()
<< " window_proc(" << (void *)this << ", " << hwnd << ", "
<< msg << ", " << wparam << ", " << lparam << ")\n";
}
WindowProperties properties;
int button = -1;
@ -1106,6 +1107,8 @@ process_1_event() {
exit(msg.wParam); // this will invoke AtExitFn
}
// consider DWORD msg.time for time of keypress/keyrelease event.
// Translate virtual key messages
TranslateMessage(&msg);
// Call window_proc