X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..15d521a109c4de5b2e18bb7b953bfedd5505a1ee:/include/wx/motif/dataobj.h diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 77064e648d..3b330787ca 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(__APPLE__) #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_