]> git.saurik.com Git - wxWidgets.git/commitdiff
in release builds gcc on osx evaporates these inlines if not WXEXPORTed
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 18 Sep 2008 08:38:25 +0000 (08:38 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 18 Sep 2008 08:38:25 +0000 (08:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wfstream.h

index 8289252bc9d772387fd2223f7ca6391ed8ccde88..aea6b17e6d9075ea5c79a6ea45909cd9d2693a7c 100644 (file)
@@ -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; }