Fix typo and do a little cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-03-26 19:21:52 +00:00
parent 720788bdbf
commit 3bee9be6f8
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ def run():
# wxSize tweaks
c = module.find('wxSize')
# Used for testing releaseing or holding the GIL in giltest.py
# Used for testing releasing or holding the GIL in giltest.py
#c.find('wxSize').findOverload('int width, int height').releaseGIL()
#c.find('DecBy').findOverload('int dx, int dy').releaseGIL()
#c.find('IncBy').findOverload('int dx, int dy').releaseGIL()

View File

@@ -55,7 +55,7 @@ inline PyObject* wx2PyString(const wxString& str) {
}
// Calls from Python to wxWindows code should be wrapped in calls to these
// Calls from Python to wxWidgets code should be wrapped in calls to these
// functions:
inline PyThreadState* wxPyBeginAllowThreads() {
PyThreadState* saved = PyEval_SaveThread(); // Like Py_BEGIN_ALLOW_THREADS;