X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63af513be3750a4a205349e244b69b81d3c4b5fb..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/popupwin.h diff --git a/interface/wx/popupwin.h b/interface/wx/popupwin.h index 202eae1923..fb1030b171 100644 --- a/interface/wx/popupwin.h +++ b/interface/wx/popupwin.h @@ -2,7 +2,6 @@ // Name: popupwin.h // Purpose: interface of wxPopupWindow // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,6 +21,11 @@ class wxPopupWindow: public wxNonOwnedWindow { public: + /** + Default constructor + */ + wxPopupWindow(); + /** Constructor */ @@ -33,7 +37,7 @@ public: bool Create(wxWindow *parent, int flags = wxBORDER_NONE); /** - Move the popup window to the right position, i.e. such that it is + 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 @@ -67,6 +71,11 @@ public: class wxPopupTransientWindow : public wxPopupWindow { public: + /** + Default constructor. + */ + wxPopupTransientWindow(); + /** Constructor. */ @@ -96,4 +105,12 @@ public: (which consists in dismissing it if the mouse is clicked outside it). */ virtual bool ProcessLeftDown(wxMouseEvent& event); + +protected: + /** + This is called when the popup is disappeared because of anything + else but direct call to Dismiss(). + */ + virtual void OnDismiss(); + };