X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..05c3f0fc73d9124061c08e3d707b4e3d6bab4ff4:/include/wx/motif/dataobj.h?ds=sidebyside diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 77064e648d..6a59078483 100644 --- a/include/wx/motif/dataobj.h +++ b/include/wx/motif/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_MOTIF_DATAOBJ_H_ #define _WX_MOTIF_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif @@ -21,9 +21,7 @@ class wxDataObject : public wxDataObjectBase { public: -#ifdef __DARWIN__ - ~wxDataObject() { } -#endif + virtual ~wxDataObject(); }; #endif //_WX_MOTIF_DATAOBJ_H_