#ifndef _WX_MOTIF_DATAOBJ_H_
#define _WX_MOTIF_DATAOBJ_H_
-#ifdef __GNUG__
- #pragma interface "dataobj.h"
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+#pragma interface "dataobj.h"
#endif
// ----------------------------------------------------------------------------
class wxDataObject : public wxDataObjectBase
{
- public:
-#ifdef __DARWIN__
- ~wxDataObject() { }
-#endif
+public:
+ virtual ~wxDataObject();
};
#endif //_WX_MOTIF_DATAOBJ_H_