Mercurial > dwindows
comparison os2/dw.c @ 1361:324812debcc9
Missed a couple .DEF file references on OS/2 and...
Fixed a warning reported by gcc with the set-focus top-level window fix.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Nov 2011 16:50:49 +0000 |
parents | 2f5e54b0c5c4 |
children | 417866ad960b |
comparison
equal
deleted
inserted
replaced
1360:32a5be18e187 | 1361:324812debcc9 |
---|---|
3135 { | 3135 { |
3136 /* Make sure we don't end up in infinite recursion */ | 3136 /* Make sure we don't end up in infinite recursion */ |
3137 command_active = 1; | 3137 command_active = 1; |
3138 | 3138 |
3139 if(msg == WM_ACTIVATE) | 3139 if(msg == WM_ACTIVATE) |
3140 result = (int)_run_event(mp2, WM_SETFOCUS, 0, mp1); | 3140 result = (int)_run_event((HWND)mp2, WM_SETFOCUS, 0, mp1); |
3141 else | 3141 else |
3142 result = (int)_run_event(hWnd, msg, mp1, mp2); | 3142 result = (int)_run_event(hWnd, msg, mp1, mp2); |
3143 | 3143 |
3144 command_active = 0; | 3144 command_active = 0; |
3145 } | 3145 } |