Mercurial > dwindows
diff os2/dw.c @ 1455:a56fa83f2a7c
Remove forcing of items packed into toplevel windows to expand on OS/2.
Remove some obsolete function prototypes on OS/2.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 15 Dec 2011 11:17:25 +0000 |
parents | 632346743f46 |
children | 23f7fcc1c727 |
line wrap: on
line diff
--- a/os2/dw.c Thu Dec 15 10:38:04 2011 +0000 +++ b/os2/dw.c Thu Dec 15 11:17:25 2011 +0000 @@ -60,8 +60,6 @@ void _do_resize(Box *thisbox, int x, int y); void _handle_splitbar_resize(HWND hwnd, float percent, int type, int x, int y); int _load_bitmap_file(char *file, HWND handle, HBITMAP *hbm, HDC *hdc, HPS *hps, unsigned long *width, unsigned long *height); -void _dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad, char *functionname); -void _dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad, char *functionname); void _free_menu_data(HWND menu); ULONG (API_FUNC _PmPrintfString)(char *String) = 0; @@ -1241,7 +1239,7 @@ else height = y - (itempad + thispad + thisbox->grouppady); } - + /* If the calculated size is valid... */ if(width > 0 && height > 0) { @@ -6727,7 +6725,6 @@ else { box = WinWindowFromID(box, FID_CLIENT); - hsize = vsize = TRUE; } }