src/video/windx5/SDL_dx5events.c
changeset 721 ab0656314eef
parent 717 42ed44b2c8b6
child 769 b8d311d90021
equal deleted inserted replaced
720:f90d80d68071 721:ab0656314eef
   535 				wmmsg.msg = msg;
   535 				wmmsg.msg = msg;
   536 				wmmsg.wParam = wParam;
   536 				wmmsg.wParam = wParam;
   537 				wmmsg.lParam = lParam;
   537 				wmmsg.lParam = lParam;
   538 				posted = SDL_PrivateSysWMEvent(&wmmsg);
   538 				posted = SDL_PrivateSysWMEvent(&wmmsg);
   539 
   539 
   540          /* DJM: If the user isn't watching for private messages in her
   540 			/* DJM: If the user isn't watching for private
   541             SDL event loop, then pass it along to any win32 specific
   541 				messages in her SDL event loop, then pass it
   542             window proc.
   542 				along to any win32 specific window proc.
   543           */
   543 			 */
   544          } else if (userWindowProc) {
   544 			} else if (userWindowProc) {
   545             return userWindowProc(hwnd, msg, wParam, lParam);
   545 				return CallWindowProc(userWindowProc, hwnd, msg, wParam, lParam);
   546          }
   546 			}
   547 		}
   547 		}
   548 		break;
   548 		break;
   549 	}
   549 	}
   550 	return(DefWindowProc(hwnd, msg, wParam, lParam));
   550 	return(DefWindowProc(hwnd, msg, wParam, lParam));
   551 }
   551 }