X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..26531700c7ec84872c60899ce6219954499086da:/include/wx/motif/dataobj.h 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_