X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..711a481223e50d08205648cf67b82d0d8b8ed335:/interface/wx/popupwin.h?ds=sidebyside diff --git a/interface/wx/popupwin.h b/interface/wx/popupwin.h index ec868cbac4..9ffd2c106c 100644 --- a/interface/wx/popupwin.h +++ b/interface/wx/popupwin.h @@ -1,9 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: popupwind.h +// Name: popupwin.h // Purpose: interface of wxPoppWindow // Author: wxWidgets team -// RCS-ID: $Id:$ -// Licence: wxWindows license +// RCS-ID: $Id$ +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -26,24 +26,26 @@ public: Constructor */ wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE); - + /** Create method for two-step creation */ bool Create(wxWindow *parent, int flags = wxBORDER_NONE); - + /** Move the popup window to the right position, i.e. such that it is entirely visible. - + The popup is positioned at ptOrigin + size if it opens below and to the right (default), at ptOrigin - sizePopup if it opens above and to the left etc. - + @param ptOrigin Must be given in screen coordinates! + @param sizePopup + The size of the popup window */ virtual void Position(const wxPoint& ptOrigin, - const wxSize& size); + const wxSize& sizePopup); };