X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f11bdd03b9623a61bfe3137beeefd7b1256bb9a1..4b412d238281008e248bcdebeae4baf4b67191e7:/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_