X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d45127a543b01fe66a5d94033f6730e057a78a9a..51cd351973a7070f5827c65ec47eeb546451c3f1:/include/wx/mac/carbon/popupwin.h diff --git a/include/wx/mac/carbon/popupwin.h b/include/wx/mac/carbon/popupwin.h index b3ec56577d..c1590abc73 100644 --- a/include/wx/mac/carbon/popupwin.h +++ b/include/wx/mac/carbon/popupwin.h @@ -20,6 +20,7 @@ class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase { public: wxPopupWindow() { } + ~wxPopupWindow(); wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE) { (void)Create(parent, flags); } @@ -28,9 +29,16 @@ public: virtual bool Show(bool show = true); + WXWindow MacGetPopupWindowRef() const ; + protected: // popups handle the position like wxTopLevelWindow, not wxWindow virtual void DoGetPosition(int *x, int *y) const; + virtual void DoMoveWindow(int x, int y, int width, int height); + virtual void DoGetSize( int *width, int *height ) const; + virtual void DoGetClientSize( int *width, int *height ) const; + + WXWindow m_popupWindowRef ; DECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow) };