Mercurial > dwindows
diff win/browser.c @ 1362:412af8059331
Attempt to get it building with Mingw again... builds but crashes.
Fix building DLL without HTML widget support... Mingw is missing required headers.
Moved wrapper functions into the main source file so it will export the APIs even if unsupported.
Removed debugging code from XBrowseForFolder.cpp because Mingw does not support it.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Nov 2011 18:56:40 +0000 |
parents | f253a7559a59 |
children | 32b5fba0b00a |
line wrap: on
line diff
--- a/win/browser.c Fri Nov 18 16:50:49 2011 +0000 +++ b/win/browser.c Fri Nov 18 18:56:40 2011 +0000 @@ -1138,7 +1138,7 @@ * this function to display numerous pages in the specified window. */ -void API dw_html_action(HWND hwnd, int action) +void _dw_html_action(HWND hwnd, int action) { IWebBrowser2 *webBrowser2; IOleObject *browserObject; @@ -1225,7 +1225,7 @@ * this function to display numerous pages in the specified window. */ -int API dw_html_raw(HWND hwnd, char *string) +int _dw_html_raw(HWND hwnd, char *string) { IWebBrowser2 *webBrowser2; LPDISPATCH lpDispatch; @@ -1354,7 +1354,7 @@ * this function to display numerous pages in the specified window. */ -int API dw_html_url(HWND hwnd, char *url) +int _dw_html_url(HWND hwnd, char *url) { IWebBrowser2 *webBrowser2; VARIANT myURL;