trunk/src/osd/windows/window.c
| r249023 | r249024 | |
| 891 | 891 | wc.lpfnWndProc = winwindow_video_window_proc_ui; |
| 892 | 892 | wc.hCursor = LoadCursor(NULL, IDC_ARROW); |
| 893 | 893 | wc.hIcon = LoadIcon(wc.hInstance, MAKEINTRESOURCE(2)); |
| 894 | |
| 895 | UnregisterClass(wc.lpszClassName, wc.hInstance); |
| 894 | 896 | |
| 895 | 897 | // register the class; fail if we can't |
| 896 | 898 | if (!RegisterClass(&wc)) |
| r249023 | r249024 | |
| 1393 | 1395 | break; |
| 1394 | 1396 | } |
| 1395 | 1397 | return DefWindowProc(wnd, message, wparam, lparam); |
| 1396 | | } |
| 1398 | }c |
| 1397 | 1399 | |
| 1398 | 1400 | // track whether we are in the foreground |
| 1399 | 1401 | case WM_ACTIVATEAPP: |