]> git.saurik.com Git - wxWidgets.git/commitdiff
corrections for wxGtk compilation under Darwin/Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 21 Jul 2001 05:32:09 +0000 (05:32 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 21 Jul 2001 05:32:09 +0000 (05:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/dataobj.h
include/wx/gtk/popupwin.h
include/wx/gtk1/dataobj.h
include/wx/gtk1/popupwin.h
include/wx/popupwin.h

index 0794fcf51f377dbfb58d232a02deb7139df76916..bd6783c977ab7e5454eb9952d4bbb4d0583b2a19 100644 (file)
@@ -22,7 +22,10 @@ class wxDataObject : public wxDataObjectBase
 {
 public:
     wxDataObject();
-
+#ifdef __DARWIN__
+    virtual ~wxDataObject() { }
+#endif
+    
     virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
 };
 
index ef0b43b49ff7f7026bd265d36517ec971e1e7e84..63c17d793d944ea35a62de1b0a0ba34e12692323 100644 (file)
@@ -27,7 +27,10 @@ class wxPopupWindow: public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
-
+#ifdef __DARWIN__
+    virtual ~wxPopupWindow() { }
+#endif
+    
     wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
     bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
 
index 0794fcf51f377dbfb58d232a02deb7139df76916..bd6783c977ab7e5454eb9952d4bbb4d0583b2a19 100644 (file)
@@ -22,7 +22,10 @@ class wxDataObject : public wxDataObjectBase
 {
 public:
     wxDataObject();
-
+#ifdef __DARWIN__
+    virtual ~wxDataObject() { }
+#endif
+    
     virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
 };
 
index ef0b43b49ff7f7026bd265d36517ec971e1e7e84..63c17d793d944ea35a62de1b0a0ba34e12692323 100644 (file)
@@ -27,7 +27,10 @@ class wxPopupWindow: public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
-
+#ifdef __DARWIN__
+    virtual ~wxPopupWindow() { }
+#endif
+    
     wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
     bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
 
index ea63c1484b348901e66dc4a229ecbc6686c5f118..bd9524c08f15121b0d8f22f6e721432d89027963 100644 (file)
@@ -29,6 +29,9 @@ class WXDLLEXPORT wxPopupWindowBase : public wxWindow
 {
 public:
     wxPopupWindowBase() { }
+#ifdef __DARWIN__
+    virtual ~wxPopupWindowBase() { }
+#endif
 
     // create the popup window
     //