X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f11bdd03b9623a61bfe3137beeefd7b1256bb9a1..622c5145868017d50b47e812d9f30ade57da289d:/include/wx/motif/dataobj.h?ds=sidebyside 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_