X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6522713c7527e5f683a107dff8f40e3ea19a4745..61aa560b2d217d4ae0a6d5c35c22317a3f65fe5d:/include/wx/gtk1/popupwin.h

diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h
index ef0b43b49f..d01ecdff01 100644
--- a/include/wx/gtk1/popupwin.h
+++ b/include/wx/gtk1/popupwin.h
@@ -27,17 +27,21 @@ class wxPopupWindow: public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
+#ifdef __DARWIN__
+    virtual ~wxPopupWindow() { }
+#endif
 
-    wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
+    wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
+        { (void)Create(parent, flags); }
     bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
 
     virtual bool Show( bool show = TRUE );
-    
+
     // implementation
     // --------------
 
     virtual void DoMoveWindow(int x, int y, int width, int height);
-    
+
     virtual void OnInternalIdle();