fixes #9982
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -98,12 +98,23 @@
|
||||
#ifdef WXMAKINGDLL_BASE
|
||||
# define WXDLLIMPEXP_BASE WXEXPORT
|
||||
# define WXDLLIMPEXP_DATA_BASE(type) WXEXPORT type
|
||||
# if defined(HAVE_VISIBILITY)
|
||||
# define WXDLLIMPEXP_INLINE_BASE WXEXPORT
|
||||
# else
|
||||
# define WXDLLIMPEXP_INLINE_BASE
|
||||
# endif
|
||||
#elif defined(WXUSINGDLL)
|
||||
# define WXDLLIMPEXP_BASE WXIMPORT
|
||||
# define WXDLLIMPEXP_DATA_BASE(type) WXIMPORT type
|
||||
# if defined(HAVE_VISIBILITY)
|
||||
# define WXDLLIMPEXP_INLINE_BASE WXIMPORT
|
||||
# else
|
||||
# define WXDLLIMPEXP_INLINE_BASE
|
||||
# endif
|
||||
#else /* not making nor using DLL */
|
||||
# define WXDLLIMPEXP_BASE
|
||||
# define WXDLLIMPEXP_DATA_BASE(type) type
|
||||
# define WXDLLIMPEXP_INLINE_BASE
|
||||
#endif
|
||||
|
||||
#ifdef WXMAKINGDLL_NET
|
||||
|
@@ -93,8 +93,8 @@ public:
|
||||
virtual ~wxTempFileOutputStream();
|
||||
|
||||
bool Close() { return Commit(); }
|
||||
WXEXPORT virtual bool Commit() { return m_file->Commit(); }
|
||||
WXEXPORT virtual void Discard() { m_file->Discard(); }
|
||||
WXDLLIMPEXP_INLINE_BASE virtual bool Commit() { return m_file->Commit(); }
|
||||
WXDLLIMPEXP_INLINE_BASE virtual void Discard() { m_file->Discard(); }
|
||||
|
||||
wxFileOffset GetLength() const { return m_file->Length(); }
|
||||
bool IsSeekable() const { return true; }
|
||||
|
Reference in New Issue
Block a user