]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows3.i
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / 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");
+%}
+
+//----------------------------------------------------------------------