X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..2d0d78133612ffdcc4ac498db54813fc38c64a90:/interface/wx/popupwin.h diff --git a/interface/wx/popupwin.h b/interface/wx/popupwin.h index 870ec9feb4..b2dad633b6 100644 --- a/interface/wx/popupwin.h +++ b/interface/wx/popupwin.h @@ -1,14 +1,13 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: popupwind.h +// Name: popupwin.h // Purpose: interface of wxPoppWindow // Author: wxWidgets team -// RCS-ID: $Id:$ +// RCS-ID: $Id$ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// /** @class wxPopupWindow - @wxheader{popupwin.h} A special kind of top level window used for popup menus, combobox popups and such. @@ -27,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); };