From 14af60da8bd10a243f1839eec5796f480d24e897 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 27 Apr 2004 19:36:16 +0000 Subject: [PATCH] It's now wx._core git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index c05de89a4f..5ea1b5c9aa 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -543,7 +543,7 @@ void __wxPyCleanup() { } -// Save a reference to the dictionary of the wx.core module, and inject +// Save a reference to the dictionary of the wx._core module, and inject // a few more things into it. PyObject* __wxPySetDictionary(PyObject* /* self */, PyObject* args) { @@ -561,7 +561,7 @@ PyObject* __wxPySetDictionary(PyObject* /* self */, PyObject* args) PyDict_SetItemString(wxPython_dict, "__wxPyPtrTypeMap", wxPyPtrTypeMap); // Create an exception object to use for wxASSERTions - wxPyAssertionError = PyErr_NewException("wx.core.PyAssertionError", + wxPyAssertionError = PyErr_NewException("wx._core.PyAssertionError", PyExc_AssertionError, NULL); PyDict_SetItemString(wxPython_dict, "PyAssertionError", wxPyAssertionError); -- 2.47.2