corrections for wxGtk compilation under Darwin/Mac OS X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-07-21 05:32:09 +00:00
parent 057d323c63
commit 1d8729431c
5 changed files with 19 additions and 4 deletions

View File

@@ -22,6 +22,9 @@ class wxDataObject : public wxDataObjectBase
{ {
public: public:
wxDataObject(); wxDataObject();
#ifdef __DARWIN__
virtual ~wxDataObject() { }
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
}; };

View File

@@ -27,6 +27,9 @@ class wxPopupWindow: public wxPopupWindowBase
{ {
public: public:
wxPopupWindow() { } wxPopupWindow() { }
#ifdef __DARWIN__
virtual ~wxPopupWindow() { }
#endif
wxPopupWindow(wxWindow *parent) { (void)Create(parent); } wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
bool Create(wxWindow *parent, int flags = wxBORDER_NONE); bool Create(wxWindow *parent, int flags = wxBORDER_NONE);

View File

@@ -22,6 +22,9 @@ class wxDataObject : public wxDataObjectBase
{ {
public: public:
wxDataObject(); wxDataObject();
#ifdef __DARWIN__
virtual ~wxDataObject() { }
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
}; };

View File

@@ -27,6 +27,9 @@ class wxPopupWindow: public wxPopupWindowBase
{ {
public: public:
wxPopupWindow() { } wxPopupWindow() { }
#ifdef __DARWIN__
virtual ~wxPopupWindow() { }
#endif
wxPopupWindow(wxWindow *parent) { (void)Create(parent); } wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
bool Create(wxWindow *parent, int flags = wxBORDER_NONE); bool Create(wxWindow *parent, int flags = wxBORDER_NONE);

View File

@@ -29,6 +29,9 @@ class WXDLLEXPORT wxPopupWindowBase : public wxWindow
{ {
public: public:
wxPopupWindowBase() { } wxPopupWindowBase() { }
#ifdef __DARWIN__
virtual ~wxPopupWindowBase() { }
#endif
// create the popup window // create the popup window
// //