]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/popupwin.h
Add test for absence of events from wxSpinCtrlDouble ctor.
[wxWidgets.git] / interface / wx / popupwin.h
index 202eae1923e9edd639c9f70c959a7e46cc814e17..fb1030b171138255215816ff82e9df806d91a88a 100644 (file)
@@ -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();
+    
 };