Mercurial > dwindows
diff os2/dw.c @ 507:c607eb385e58
Added missing calling conventions. Thanks Bastian for pointing this out.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 22 Jan 2004 18:51:49 +0000 |
parents | f3ed8dda02f8 |
children | 078a40ba2e41 |
line wrap: on
line diff
--- a/os2/dw.c Wed Jan 21 06:31:41 2004 +0000 +++ b/os2/dw.c Thu Jan 22 18:51:49 2004 +0000 @@ -4569,7 +4569,7 @@ * DW pick the appropriate file extension. * (BMP on OS/2 or Windows, XPM on Unix) */ -HWND dw_bitmapbutton_new_from_file(char *text, unsigned long id, char *filename) +HWND API dw_bitmapbutton_new_from_file(char *text, unsigned long id, char *filename) { BubbleButton *bubble = calloc(sizeof(BubbleButton), 1); HWND tmp = WinCreateWindow(HWND_OBJECT, @@ -7001,7 +7001,7 @@ * icon: Icon handle to display in the taskbar. * bubbletext: Text to show when the mouse is above the icon. */ -void dw_taskbar_insert(HWND handle, unsigned long icon, char *bubbletext) +void API dw_taskbar_insert(HWND handle, unsigned long icon, char *bubbletext) { handle = handle; icon = icon; @@ -7015,7 +7015,7 @@ * handle: Window handle that was used with dw_taskbar_insert(). * icon: Icon handle that was used with dw_taskbar_insert(). */ -void dw_taskbar_delete(HWND handle, unsigned long icon) +void API dw_taskbar_delete(HWND handle, unsigned long icon) { handle = handle; icon = icon; @@ -8676,7 +8676,7 @@ * dataname: A string pointer identifying which signal to be hooked. * data: User data to be passed to the handler function. */ -void *dw_window_get_data(HWND window, char *dataname) +void * API dw_window_get_data(HWND window, char *dataname) { WindowData *blah = (WindowData *)WinQueryWindowPtr(window, QWP_USER);