comparison os2/dw.c @ 280:030188d45a69

Fixed typo in the filename parameter.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 14 Mar 2003 18:13:56 +0000
parents df0665ba147f
children 54aafc134652
comparison
equal deleted inserted replaced
279:984db8aefd7f 280:030188d45a69
4363 * id: An ID to be used with dw_window_from_id() or 0L. 4363 * id: An ID to be used with dw_window_from_id() or 0L.
4364 * filename: Name of the file, omit extention to have 4364 * filename: Name of the file, omit extention to have
4365 * DW pick the appropriate file extension. 4365 * DW pick the appropriate file extension.
4366 * (BMP on OS/2 or Windows, XPM on Unix) 4366 * (BMP on OS/2 or Windows, XPM on Unix)
4367 */ 4367 */
4368 HWND dw_bitmapbutton_new_from_file(char *text, unsigned long id, char filename) 4368 HWND dw_bitmapbutton_new_from_file(char *text, unsigned long id, char *filename)
4369 { 4369 {
4370 /* TODO: Actually get it to draw the bitmap */ 4370 /* TODO: Actually get it to draw the bitmap */
4371 BubbleButton *bubble = calloc(sizeof(BubbleButton), 1); 4371 BubbleButton *bubble = calloc(sizeof(BubbleButton), 1);
4372 HWND tmp = WinCreateWindow(HWND_OBJECT, 4372 HWND tmp = WinCreateWindow(HWND_OBJECT,
4373 WC_BUTTON, 4373 WC_BUTTON,