X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f11bdd03b9623a61bfe3137beeefd7b1256bb9a1..c8e1af672f46e93ae2fe6d7f9d5b35a3d8d49c16:/include/wx/motif/dataobj.h diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 878d9b0c39..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,10 +20,8 @@ class wxDataObject : public wxDataObjectBase { - public: -#ifdef __DARWIN__ - ~wxDataObject() { } -#endif +public: + virtual ~wxDataObject(); }; #endif //_WX_MOTIF_DATAOBJ_H_