X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d090da1e9e618b60f176cc27fc8a79eadde44b4..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/popupwin.h diff --git a/interface/wx/popupwin.h b/interface/wx/popupwin.h index 96c20f6a81..fb1030b171 100644 --- a/interface/wx/popupwin.h +++ b/interface/wx/popupwin.h @@ -1,8 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: popupwin.h -// Purpose: interface of wxPoppWindow +// 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(); + };