fixing xti problems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-07-30 17:55:53 +00:00
parent b19f771f52
commit 4393b50ccd
4 changed files with 109 additions and 85 deletions

View File

@@ -28,14 +28,12 @@ class WXDLLIMPEXP_BASE wxObject;
#if wxUSE_DYNAMIC_CLASSES
#ifndef wxUSE_EXTENDED_RTTI
#ifndef wxUSE_EXTENDED_RTTI
#define wxUSE_EXTENDED_RTTI 0
#endif
#if wxUSE_EXTENDED_RTTI
#include "wx/xti.h"
#else
// ----------------------------------------------------------------------------
@@ -418,16 +416,16 @@ class WXDLLIMPEXP_BASE wxObject
private:
void InitFrom(const wxObject& other);
public:
wxObject() { m_refData = NULL; }
virtual ~wxObject() { UnRef(); }
wxObject(const wxObject& other)
{
InitFrom(other);
}
wxObject& operator=(const wxObject& other)
{
if ( this != &other )