X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6522713c7527e5f683a107dff8f40e3ea19a4745..a467ac36a568c8ed1c43604fd7f1f2b2d3b6efc2:/include/wx/gtk1/popupwin.h diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h index ef0b43b49f..63c17d793d 100644 --- a/include/wx/gtk1/popupwin.h +++ b/include/wx/gtk1/popupwin.h @@ -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);