]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows3.i
Emptied patch.rsp
[wxWidgets.git] / wxPython / src / windows3.i
index 75ad798db93d3abf6252f9edcd6f05ba40d3450c..570e9fba29c22213947dbf3807c187dbeeb99397 100644 (file)
@@ -18,6 +18,7 @@
 #include <wx/laywin.h>
 #ifndef __WXMAC__
 #include <wx/popupwin.h>
+#include <wx/tipwin.h>
 #endif
 %}
 
@@ -234,11 +235,12 @@ public:
         : wxPopupTransientWindow(parent, style) {}
 
     DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
+    DEC_PYCALLBACK__(OnDismiss);
     PYPRIVATE;
 };
 
 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
-
+IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
 %}
 
 
@@ -265,6 +267,19 @@ public:
     virtual void Dismiss();
 };
 
-#endif
 //---------------------------------------------------------------------------
 
+class wxTipWindow : public wxPyPopupTransientWindow
+{
+public:
+    wxTipWindow(wxWindow *parent,
+                const wxString& text,
+                wxCoord maxLength = 100);
+
+    %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+};
+
+
+//---------------------------------------------------------------------------
+
+#endif