From 450d55bab8e320fd6dc9c1a64671380947288e7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 25 Aug 2004 11:09:08 +0000 Subject: [PATCH] WXDLLEXPORT fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/mslu.cpp | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index eb7866d90c..f604482fe4 100644 --- a/src/msw/mslu.cpp +++ b/src/msw/mslu.cpp @@ -62,10 +62,11 @@ #if wxUSE_GUI -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) +WXDLLIMPEXP_BASE int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, + WXFARPROC outputFunc, + WXLPARAM lData, WXWPARAM wData, + int x, int y, int cx, int cy, + unsigned int flags) { // VS: There's yet another bug in MSLU: DrawStateW behaves like if it was // expecting char*, not wchar_t* input. We have to use DrawStateA @@ -109,7 +110,7 @@ static void wxFixOPENFILENAME(LPOPENFILENAME ofn) #endif } -WXDLLEXPORT int wxMSLU_GetOpenFileNameW(void *ofn) +WXDLLIMPEXP_BASE int wxMSLU_GetOpenFileNameW(void *ofn) { int ret = GetOpenFileName((LPOPENFILENAME)ofn); if ( wxUsingUnicowsDll() && ret != 0 ) @@ -117,7 +118,7 @@ WXDLLEXPORT int wxMSLU_GetOpenFileNameW(void *ofn) return ret; } -WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn) +WXDLLIMPEXP_BASE int wxMSLU_GetSaveFileNameW(void *ofn) { int ret = GetSaveFileName((LPOPENFILENAME)ofn); if ( wxUsingUnicowsDll() && ret != 0 ) @@ -133,7 +134,8 @@ WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn) #if wxUSE_BASE -WXDLLEXPORT int wxMSLU__trename(const wxChar *oldname, const wxChar *newname) +WXDLLIMPEXP_BASE int wxMSLU__trename(const wxChar *oldname, + const wxChar *newname) { if ( wxUsingUnicowsDll() ) return rename(wxConvFile.cWX2MB(oldname), wxConvFile.cWX2MB(newname)); @@ -141,7 +143,7 @@ WXDLLEXPORT int wxMSLU__trename(const wxChar *oldname, const wxChar *newname) return _trename(oldname, newname); } -WXDLLEXPORT int wxMSLU__tremove(const wxChar *name) +WXDLLIMPEXP_BASE int wxMSLU__tremove(const wxChar *name) { if ( wxUsingUnicowsDll() ) return remove(wxConvFile.cWX2MB(name)); @@ -154,7 +156,7 @@ WXDLLEXPORT int wxMSLU__tremove(const wxChar *name) || ( defined(__MWERKS__) && defined(__WXMSW__) ) \ || ( defined(__BORLANDC__) && (__BORLANDC__ > 0x460) ) -WXDLLEXPORT int wxMSLU__wopen(const wxChar *name, int flags, int mode) +WXDLLIMPEXP_BASE int wxMSLU__wopen(const wxChar *name, int flags, int mode) { if ( wxUsingUnicowsDll() ) #ifdef __BORLANDC__ @@ -166,7 +168,7 @@ WXDLLEXPORT int wxMSLU__wopen(const wxChar *name, int flags, int mode) return _wopen(name, flags, mode); } -WXDLLEXPORT int wxMSLU__waccess(const wxChar *name, int mode) +WXDLLIMPEXP_BASE int wxMSLU__waccess(const wxChar *name, int mode) { if ( wxUsingUnicowsDll() ) return _access(wxConvFile.cWX2MB(name), mode); @@ -174,7 +176,7 @@ WXDLLEXPORT int wxMSLU__waccess(const wxChar *name, int mode) return _waccess(name, mode); } -WXDLLEXPORT int wxMSLU__wmkdir(const wxChar *name) +WXDLLIMPEXP_BASE int wxMSLU__wmkdir(const wxChar *name) { if ( wxUsingUnicowsDll() ) return _mkdir(wxConvFile.cWX2MB(name)); @@ -182,7 +184,7 @@ WXDLLEXPORT int wxMSLU__wmkdir(const wxChar *name) return _wmkdir(name); } -WXDLLEXPORT int wxMSLU__wrmdir(const wxChar *name) +WXDLLIMPEXP_BASE int wxMSLU__wrmdir(const wxChar *name) { if ( wxUsingUnicowsDll() ) return _rmdir(wxConvFile.cWX2MB(name)); @@ -190,7 +192,7 @@ WXDLLEXPORT int wxMSLU__wrmdir(const wxChar *name) return _wrmdir(name); } -WXDLLEXPORT int wxMSLU__wstat(const wxChar *name, struct _stat *buffer) +WXDLLIMPEXP_BASE int wxMSLU__wstat(const wxChar *name, struct _stat *buffer) { if ( wxUsingUnicowsDll() ) return _stat((const char*)wxConvFile.cWX2MB(name), buffer); -- 2.47.2