]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_tipwin.i
reSWIGged
[wxWidgets.git] / wxPython / src / _tipwin.i
index 5c908e258783435bcab117e89ec65cd9bd733e83..1cb3e5cc5e23184c0078a269d6bffb8983c30d86 100644 (file)
@@ -31,15 +31,14 @@ class wxTipWindow :
 #endif
 {
 public:
-    %addtofunc wxTipWindow         "self._setOORInfo(self)"
+    %pythonAppend wxTipWindow         "self._setOORInfo(self)"
     
     %extend {
         wxTipWindow(wxWindow *parent,
-                    const wxString* text,
+                    const wxString& text,
                     wxCoord maxLength = 100,
                     wxRect* rectBound = NULL) {
-            wxString tmp = *text;
-            return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
+            return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
         }
     }