X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12db77cab1054d288a2b3e2d07e58ad1d6386a53..2cfbeac8141db28d9a022cdf92c12f82631a3c82:/include/wx/motif/dataobj.h diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index ace6342cac..6a59078483 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(NO_GCC_PRAGMA) +#pragma interface "dataobj.h" #endif // ---------------------------------------------------------------------------- @@ -20,6 +20,8 @@ class wxDataObject : public wxDataObjectBase { +public: + virtual ~wxDataObject(); }; #endif //_WX_MOTIF_DATAOBJ_H_