diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index 8289252bc9..aea6b17e6d 100644 --- a/include/wx/wfstream.h +++ b/include/wx/wfstream.h @@ -93,8 +93,8 @@ public: virtual ~wxTempFileOutputStream(); bool Close() { return Commit(); } - virtual bool Commit() { return m_file->Commit(); } - virtual void Discard() { m_file->Discard(); } + WXEXPORT virtual bool Commit() { return m_file->Commit(); } + WXEXPORT virtual void Discard() { m_file->Discard(); } wxFileOffset GetLength() const { return m_file->Length(); } bool IsSeekable() const { return true; }