X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6522713c7527e5f683a107dff8f40e3ea19a4745..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/include/wx/gtk/popupwin.h?ds=sidebyside diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index ef0b43b49f..d01ecdff01 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/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();