]> git.saurik.com Git - wxWidgets.git/commitdiff
add maps for the old/new names
authorRobin Dunn <robin@alldunn.com>
Wed, 13 Aug 2003 19:47:26 +0000 (19:47 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 13 Aug 2003 19:47:26 +0000 (19:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/windows3.i

index 5e1ce81adddc8663f052413d9f5d37ba0337b4dd..29d371c13c3984cad9ab70b3c413322795066ab3 100644 (file)
@@ -828,3 +828,11 @@ public:
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 
+%init %{
+    // Map renamed classes back to their common name for OOR
+    wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
+    wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
+    wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
+%}
+
+//----------------------------------------------------------------------