* Bug fixes
* Changed wxObjectOutputStream::AddChildren() to AddChild() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,9 +24,6 @@
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// error return value for Seek() functions
|
||||
const off_t ofsInvalid = (off_t)-1;
|
||||
|
||||
// we redefine these constants here because S_IREAD &c are _not_ standard
|
||||
// however, we do assume that the values correspond to the Unix umask bits
|
||||
#define wxS_IRUSR 00400
|
||||
@@ -118,7 +115,7 @@ public:
|
||||
bool Error() const { return m_error; }
|
||||
|
||||
// dtor closes the file if opened
|
||||
~wxFile();
|
||||
virtual ~wxFile(); // Temporally virtual because of wxFileStream: I'll change back in a near future.
|
||||
|
||||
private:
|
||||
// copy ctor and assignment operator are private because
|
||||
|
@@ -33,7 +33,7 @@ class wxObjectOutputStream : public wxFilterOutputStream {
|
||||
public:
|
||||
wxObjectOutputStream(wxOutputStream& s);
|
||||
|
||||
void AddChildren(wxObject *obj);
|
||||
void AddChild(wxObject *obj);
|
||||
bool SaveObject(wxObject& obj);
|
||||
|
||||
bool FirstStage() const { return m_stage == 0; }
|
||||
|
@@ -56,6 +56,8 @@ LIB_CPP_SRC=\
|
||||
common/time.cpp \
|
||||
common/timercmn.cpp \
|
||||
common/utilscmn.cpp \
|
||||
common/wincmn.cpp \
|
||||
common/framecmn.cpp \
|
||||
common/stream.cpp \
|
||||
common/datstrm.cpp \
|
||||
common/fstream.cpp \
|
||||
|
@@ -48,7 +48,7 @@ void wxObjectOutputStream::WriteObjectDef(wxObjectStreamInfo& info)
|
||||
data_s.Write8(info.children.Number());
|
||||
}
|
||||
|
||||
void wxObjectOutputStream::AddChildren(wxObject *obj)
|
||||
void wxObjectOutputStream::AddChild(wxObject *obj)
|
||||
{
|
||||
wxObjectStreamInfo *info;
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <wx/stream.h>
|
||||
#include <wx/zstream.h>
|
||||
#include <wx/utils.h>
|
||||
#include "../zlib/zlib.h"
|
||||
#include "zlib.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
|
@@ -95,6 +95,7 @@ $(TOOLKIT_DEF) \
|
||||
-I. \
|
||||
-I.. \
|
||||
-I$(WXBASEDIR)/include \
|
||||
-I$(WXBASEDIR)/src/zlib \
|
||||
$(GUI_TK_INCLUDE) \
|
||||
$(OPENGL_INCLUDE) \
|
||||
$(X_CFLAGS)
|
||||
|
@@ -95,6 +95,7 @@ $(TOOLKIT_DEF) \
|
||||
-I. \
|
||||
-I.. \
|
||||
-I$(WXBASEDIR)/include \
|
||||
-I$(WXBASEDIR)/src/zlib \
|
||||
$(GUI_TK_INCLUDE) \
|
||||
$(OPENGL_INCLUDE) \
|
||||
$(X_CFLAGS)
|
||||
|
Reference in New Issue
Block a user