]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/my_typemaps.i
grid/dbgrid was not getting built for inclusion with this project
[wxWidgets.git] / wxPython / src / my_typemaps.i
index dbf2433fe06114e21427f0df427e857fd66359ed..d9b078bc4e3baa7c5f3e4fceb65de637d59be9d9 100644 (file)
     $1 = new wxMemoryBuffer(len);
     temp = True;
     memcpy($1->GetData(), str, len);
+    $1->SetDataLen(len);
 }
 
 %typemap(freearg) wxMemoryBuffer& {
@@ -391,6 +392,8 @@ SWIG_AsDouble(PyObject *obj)
 %typemap(out) wxHtmlWindow*             { $result = wxPyMake_wxObject($1); }
 %typemap(out) wxPyHtmlWindow*           { $result = wxPyMake_wxObject($1); }
 %typemap(out) wxWizardPage*             { $result = wxPyMake_wxObject($1); }
+%typemap(out) wxPanel*                  { $result = wxPyMake_wxObject($1); }
+%typemap(out) wxDialog*                 { $result = wxPyMake_wxObject($1); }
 
 %typemap(out) wxSizer*                  { $result = wxPyMake_wxSizer($1); }