]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dataobj.h
Prevent seg fault for older GTK+
[wxWidgets.git] / include / wx / gtk1 / dataobj.h
index e468a1247060f2c77848eceaba2be6d8939a95f3..0f7710847331c97bc0754a83e024214b7b838b9d 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        gtk/dataobj.h
+// Name:        wx/gtk1/dataobj.h
 // Purpose:     declaration of the wxDataObject
 // Author:      Robert Roebling
 // RCS-ID:      $Id$
 #ifndef _WX_GTK_DATAOBJ_H_
 #define _WX_GTK_DATAOBJ_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma interface "dataobj.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // wxDataObject is the same as wxDataObjectBase under wxGTK
 // ----------------------------------------------------------------------------
 
-class wxDataObject : public wxDataObjectBase
+class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
 {
 public:
     wxDataObject();