1. wxMotif fixes for compilation in "no compatible" mode

2. Common fixes to be able to link minimal sample without stream classes, tree ctrl, list ctrl &c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-01-19 19:36:07 +00:00
parent 9982bf4c66
commit 1ccbb61aba
7 changed files with 147 additions and 72 deletions

View File

@@ -22,7 +22,7 @@
#ifndef WX_PRECOMP
#include "wx/hash.h"
#ifdef wxUSE_SERIAL
#if wxUSE_SERIAL
#include "wx/objstrm.h"
#include "wx/serbase.h"
@@ -64,7 +64,7 @@ wxHashTable* wxClassInfo::sm_classTable = (wxHashTable*) NULL;
wxObject::wxObject(void)
{
m_refData = (wxObjectRefData *) NULL;
#ifdef wxUSE_SERIAL
#if wxUSE_SERIAL
m_serialObj = (wxObject_Serialize *)NULL;
#endif
}
@@ -72,7 +72,7 @@ wxObject::wxObject(void)
wxObject::~wxObject(void)
{
UnRef();
#ifdef wxUSE_SERIAL
#if wxUSE_SERIAL
if (m_serialObj)
delete m_serialObj;
#endif
@@ -269,7 +269,7 @@ wxObject *wxCreateDynamicObject(const char *name)
return (wxObject*) NULL;
}
#ifdef wxUSE_SERIAL
#if wxUSE_SERIAL
#include "wx/serbase.h"
#include "wx/dynlib.h"