A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-09-14 16:14:56 +00:00
parent b1cfebd9f4
commit a3fbed81b2
8 changed files with 48 additions and 16 deletions

View File

@@ -10183,8 +10183,10 @@ SWIGEXPORT(void) initcontrols2c() {
PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
PyDict_SetItemString(d,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG));
// Map renamed classes back to their common name for OOR
wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
{
int i;
for (i = 0; _swig_mapping[i].n1; i++)