Changed all TRUE/true --> True and all FALSE/false --> False so the
Python docstrings will have the correct case. Started adding extra docstrings where needed. Some other little tweaks and fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,17 +54,17 @@ public:
|
||||
// bool __eq__(PyObject* obj) {
|
||||
// wxColour tmp;
|
||||
// wxColour* ptr = &tmp;
|
||||
// if (obj == Py_None) return FALSE;
|
||||
// if (obj == Py_None) return False;
|
||||
// wxPyBLOCK_THREADS(bool success = wxColour_helper(obj, &ptr); PyErr_Clear());
|
||||
// if (! success) return FALSE;
|
||||
// if (! success) return False;
|
||||
// return *self == *ptr;
|
||||
// }
|
||||
// bool __ne__(PyObject* obj) {
|
||||
// wxColour tmp;
|
||||
// wxColour* ptr = &tmp;
|
||||
// if (obj == Py_None) return TRUE;
|
||||
// if (obj == Py_None) return True;
|
||||
// wxPyBLOCK_THREADS(bool success = wxColour_helper(obj, &ptr); PyErr_Clear());
|
||||
// if (! success) return TRUE;
|
||||
// if (! success) return True;
|
||||
// return *self != *ptr;
|
||||
// }
|
||||
}
|
||||
|
Reference in New Issue
Block a user