]> git.saurik.com Git - wxWidgets.git/commitdiff
AIX linking fix (declare wxDataObject dtor)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jul 2002 14:17:58 +0000 (14:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Jul 2002 14:17:58 +0000 (14:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/motif/dataobj.h
src/motif/dataobj.cpp

index 77064e648d30d50e79b41d01de441b0df48fb28d..042cf6c63b9b89692074b1f97d8d218140493854 100644 (file)
@@ -21,9 +21,7 @@
 class wxDataObject : public wxDataObjectBase
 {
 public:
-#ifdef __DARWIN__
-    ~wxDataObject() { }
-#endif
+    virtual ~wxDataObject();
 };
 
 #endif //_WX_MOTIF_DATAOBJ_H_
index 90e41f267ac3faa19e34465a8dc35fa04040874a..8f949396fcb4b686037800208cdc2928ba0c110c 100644 (file)
@@ -145,6 +145,14 @@ void wxDataFormat::PrepareFormats()
         g_fileAtom = XInternAtom( (Display*) wxGetDisplay(), "file:ALL", FALSE );
 }
 
+// ----------------------------------------------------------------------------
+// wxDataObject
+// ----------------------------------------------------------------------------
+
+wxDataObject::~wxDataObject()
+{
+}
+
 #if 0
 
 // ----------------------------------------------------------------------------