X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e49d97e66a1c4d01413face83788d77e1d187fe6..f41bc3e3f3fda37fba548440b230288c5eed0953:/include/wx/msw/popupwin.h diff --git a/include/wx/msw/popupwin.h b/include/wx/msw/popupwin.h index 3ec588a476..ae220bc388 100644 --- a/include/wx/msw/popupwin.h +++ b/include/wx/msw/popupwin.h @@ -31,10 +31,15 @@ public: bool Create(wxWindow *parent, int flags = wxBORDER_NONE); protected: + // popups handle the position like wxTopLevelWindow, not wxWindow virtual void DoGetPosition(int *x, int *y) const; + // return the style to be used for the popup windows virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle) const; + // get the HWND to be used as parent of this window with CreateWindow() + virtual WXHWND MSWGetParent() const; + DECLARE_DYNAMIC_CLASS(wxPopupWindow) };