comparison os2/dw.c @ 1347:2bc23978cfcd

Removed some unused variables in the new OS/2 code... as reported by gcc. Font variable may need to come back if/when I get the font changing working.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 15 Nov 2011 05:21:32 +0000
parents 1436bcd68ee4
children 64c8eba7c0fc
comparison
equal deleted inserted replaced
1346:1436bcd68ee4 1347:2bc23978cfcd
1650 case WM_BUTTON1DOWN: 1650 case WM_BUTTON1DOWN:
1651 case WM_BUTTON2DOWN: 1651 case WM_BUTTON2DOWN:
1652 case WM_BUTTON3DOWN: 1652 case WM_BUTTON3DOWN:
1653 { 1653 {
1654 POINTS pts = (*((POINTS*)&mp1)); 1654 POINTS pts = (*((POINTS*)&mp1));
1655 int day = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_day"));
1656 int month = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_month")); 1655 int month = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_month"));
1657 int year = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_year")); 1656 int year = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_year"));
1658 int dayofweek = 1, x, height; 1657 int dayofweek = 1, x, height;
1659 RECTL rclArea; 1658 RECTL rclArea;
1660 1659
1723 break; 1722 break;
1724 case WM_PAINT: 1723 case WM_PAINT:
1725 { 1724 {
1726 HPS hpsPaint; 1725 HPS hpsPaint;
1727 RECTL rclPaint, rclDraw; 1726 RECTL rclPaint, rclDraw;
1728 char buf[100], font[50] = { 0 }; 1727 char buf[100];
1729 int day = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_day")); 1728 int day = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_day"));
1730 int month = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_month")); 1729 int month = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_month"));
1731 int year = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_year")); 1730 int year = DW_POINTER_TO_INT(dw_window_get_data(hWnd, "_dw_year"));
1732 int dayofweek = 1, x, lastmonth = 11, height; 1731 int dayofweek = 1, x, lastmonth = 11, height;
1733 POINTL pptl[3]; 1732 POINTL pptl[3];