#include <wx/popupwin.h>
Public Member Functions | |
| wxPopupWindow (wxWindow *parent, int flags=wxBORDER_NONE) | |
| bool | Create (wxWindow *parent, int flags=wxBORDER_NONE) |
| virtual void | Position (const wxPoint &ptOrigin, const wxSize &size) |
| wxPopupWindow::wxPopupWindow | ( | wxWindow * | parent, | |
| int | flags = wxBORDER_NONE | |||
| ) |
Constructor
| bool wxPopupWindow::Create | ( | wxWindow * | parent, | |
| int | flags = wxBORDER_NONE | |||
| ) |
Create method for two-step creation
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.
| ptOrigin | Must be given in screen coordinates! |
|
[ top ] |