src/video/windib/SDL_dibevents.c
changeset 721 ab0656314eef
parent 572 4c740ee76027
child 726 5429a06aa816
equal deleted inserted replaced
720:f90d80d68071 721:ab0656314eef
   175 			/* DJM: If the user isn't watching for private
   175 			/* DJM: If the user isn't watching for private
   176 				messages in her SDL event loop, then pass it
   176 				messages in her SDL event loop, then pass it
   177 				along to any win32 specific window proc.
   177 				along to any win32 specific window proc.
   178 			 */
   178 			 */
   179 			} else if (userWindowProc) {
   179 			} else if (userWindowProc) {
   180 				return userWindowProc(hwnd, msg, wParam, lParam);
   180 				return CallWindowProc(userWindowProc, hwnd, msg, wParam, lParam);
   181 			}
   181 			}
   182 		}
   182 		}
   183 		break;
   183 		break;
   184 	}
   184 	}
   185 	return(DefWindowProc(hwnd, msg, wParam, lParam));
   185 	return(DefWindowProc(hwnd, msg, wParam, lParam));