X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3628e0888696a4a1d306e621d477a89c43898f05..19c35fa587f97cf83e2cb28afe76b8db85b36c9f:/wxPython/src/gtk/windows3.cpp diff --git a/wxPython/src/gtk/windows3.cpp b/wxPython/src/gtk/windows3.cpp index b5b89157fa..24e4839773 100644 --- a/wxPython/src/gtk/windows3.cpp +++ b/wxPython/src/gtk/windows3.cpp @@ -4884,6 +4884,11 @@ SWIGEXPORT(void) initwindows3c() { PyDict_SetItemString(d,"wxLAYOUT_BOTTOM", PyInt_FromLong((long) wxLAYOUT_BOTTOM)); PyDict_SetItemString(d,"wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong((long) wxEVT_QUERY_LAYOUT_INFO)); PyDict_SetItemString(d,"wxEVT_CALCULATE_LAYOUT", PyInt_FromLong((long) wxEVT_CALCULATE_LAYOUT)); + + // Map renamed classes back to their common name for OOR + wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); + wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); + wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); { int i; for (i = 0; _swig_mapping[i].n1; i++)