X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12db77cab1054d288a2b3e2d07e58ad1d6386a53..d2b354f9c9f1473b2d6ff0ab643ebf57dcbfb656:/include/wx/motif/dataobj.h diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index ace6342cac..3b330787ca 100644 --- a/include/wx/motif/dataobj.h +++ b/include/wx/motif/dataobj.h @@ -10,8 +10,8 @@ #ifndef _WX_MOTIF_DATAOBJ_H_ #define _WX_MOTIF_DATAOBJ_H_ -#ifdef __GNUG__ - #pragma interface "dataobj.h" +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "dataobj.h" #endif // ---------------------------------------------------------------------------- @@ -20,6 +20,8 @@ class wxDataObject : public wxDataObjectBase { +public: + virtual ~wxDataObject(); }; #endif //_WX_MOTIF_DATAOBJ_H_