X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63af513be3750a4a205349e244b69b81d3c4b5fb..38aae140acbfd562df1388ae76108efcc52f871c:/interface/wx/popupwin.h diff --git a/interface/wx/popupwin.h b/interface/wx/popupwin.h index 202eae1923..4c1476d171 100644 --- a/interface/wx/popupwin.h +++ b/interface/wx/popupwin.h @@ -22,6 +22,11 @@ class wxPopupWindow: public wxNonOwnedWindow { public: + /** + Default constructor + */ + wxPopupWindow(); + /** Constructor */ @@ -33,7 +38,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 +72,11 @@ public: class wxPopupTransientWindow : public wxPopupWindow { public: + /** + Default constructor. + */ + wxPopupTransientWindow(); + /** Constructor. */ @@ -96,4 +106,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(); + };