X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12db77cab1054d288a2b3e2d07e58ad1d6386a53..05c3f0fc73d9124061c08e3d707b4e3d6bab4ff4:/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_