X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28f5082b3235a349ffc3b99eeacca5049ccd42dd..1338c59a025505bc066be220fe56e898a72b3ad3:/include/wx/msw/mslu.h?ds=inline diff --git a/include/wx/msw/mslu.h b/include/wx/msw/mslu.h index f09435b5fb..e8700dd40c 100644 --- a/include/wx/msw/mslu.h +++ b/include/wx/msw/mslu.h @@ -33,18 +33,18 @@ inline bool wxUsingUnicowsDll() #if wxUSE_GUI -WXDLLEXPORT bool wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc, - WXLPARAM lData, WXWPARAM wData, - int x, int y, int cx, int cy, - unsigned int flags); +WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc, + WXLPARAM lData, WXWPARAM wData, + int x, int y, int cx, int cy, + unsigned int flags); #define DrawStateW(dc, br, func, ld, wd, x, y, cx, cy, flags) \ wxMSLU_DrawStateW((WXHDC)dc,(WXHBRUSH)br,(WXFARPROC)func, \ ld, wd, x, y, cx, cy, flags) -WXDLLEXPORT bool wxMSLU_GetOpenFileNameW(void *ofn); +WXDLLEXPORT int wxMSLU_GetOpenFileNameW(void *ofn); #define GetOpenFileNameW(ofn) wxMSLU_GetOpenFileNameW((void*)ofn) -WXDLLEXPORT bool wxMSLU_GetSaveFileNameW(void *ofn); +WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn); #define GetSaveFileNameW(ofn) wxMSLU_GetSaveFileNameW((void*)ofn) #endif @@ -58,7 +58,8 @@ WXDLLEXPORT int wxMSLU__tremove(const wxChar *name); #if defined( __VISUALC__ ) \ || ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \ - || ( defined(__MWERKS__) && defined(__WXMSW__) ) + || ( defined(__MWERKS__) && defined(__WXMSW__) ) \ + || ( defined(__BORLANDC__) && (__BORLANDC__ > 0x460) ) WXDLLEXPORT int wxMSLU__wopen(const wxChar *name, int flags, int mode); WXDLLEXPORT int wxMSLU__waccess(const wxChar *name, int mode); WXDLLEXPORT int wxMSLU__wmkdir(const wxChar *name);