From 1eaf587e21cd52294ea85a70a3906fc9f04307c7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 10 Jul 2002 14:17:58 +0000 Subject: [PATCH] AIX linking fix (declare wxDataObject dtor) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/motif/dataobj.h | 4 +--- src/motif/dataobj.cpp | 8 ++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 77064e648d..042cf6c63b 100644 --- a/include/wx/motif/dataobj.h +++ b/include/wx/motif/dataobj.h @@ -21,9 +21,7 @@ class wxDataObject : public wxDataObjectBase { public: -#ifdef __DARWIN__ - ~wxDataObject() { } -#endif + virtual ~wxDataObject(); }; #endif //_WX_MOTIF_DATAOBJ_H_ diff --git a/src/motif/dataobj.cpp b/src/motif/dataobj.cpp index 90e41f267a..8f949396fc 100644 --- a/src/motif/dataobj.cpp +++ b/src/motif/dataobj.cpp @@ -145,6 +145,14 @@ void wxDataFormat::PrepareFormats() g_fileAtom = XInternAtom( (Display*) wxGetDisplay(), "file:ALL", FALSE ); } +// ---------------------------------------------------------------------------- +// wxDataObject +// ---------------------------------------------------------------------------- + +wxDataObject::~wxDataObject() +{ +} + #if 0 // ---------------------------------------------------------------------------- -- 2.50.0