Mercurial > dwindows
comparison os2/dw.c @ 368:72fbd1ee8150
Ug, missed a break statement.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 27 Apr 2003 17:05:13 +0000 |
parents | f19440c0ff71 |
children | 39983df2b93d |
comparison
equal
deleted
inserted
replaced
367:f19440c0ff71 | 368:72fbd1ee8150 |
---|---|
273 if(hdc) | 273 if(hdc) |
274 DevCloseDC(hdc); | 274 DevCloseDC(hdc); |
275 | 275 |
276 if(hbm) | 276 if(hbm) |
277 GpiDeleteBitmap(hbm); | 277 GpiDeleteBitmap(hbm); |
278 | |
279 } | 278 } |
280 | 279 |
281 /* This function removes and handlers on windows and frees | 280 /* This function removes and handlers on windows and frees |
282 * the user memory allocated to it. | 281 * the user memory allocated to it. |
283 */ | 282 */ |
2842 case WM_BUTTON1DBLCLK: | 2841 case WM_BUTTON1DBLCLK: |
2843 case WM_BUTTON2DBLCLK: | 2842 case WM_BUTTON2DBLCLK: |
2844 case WM_BUTTON3DBLCLK: | 2843 case WM_BUTTON3DBLCLK: |
2845 if(dw_window_get_data(hwnd, "_dw_disabled")) | 2844 if(dw_window_get_data(hwnd, "_dw_disabled")) |
2846 return (MRESULT)FALSE; | 2845 return (MRESULT)FALSE; |
2846 break; | |
2847 case WM_BUTTON1UP: | 2847 case WM_BUTTON1UP: |
2848 { | 2848 { |
2849 SignalHandler *tmp = Root; | 2849 SignalHandler *tmp = Root; |
2850 | 2850 |
2851 if(WinIsWindowEnabled(hwnd) && !dw_window_get_data(hwnd, "_dw_disabled")) | 2851 if(WinIsWindowEnabled(hwnd) && !dw_window_get_data(hwnd, "_dw_disabled")) |