Modified form of Patch #1611222, adds wxSearchCtrl (generic & native carbon HISearchField)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3320,6 +3320,7 @@ public:
|
||||
rval = *ptr;
|
||||
}
|
||||
else if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
|
||||
PyErr_Clear(); // Clear the exception left over from wxPyConvertSwigPtr
|
||||
PyObject* o1 = PySequence_GetItem(ro, 0);
|
||||
PyObject* o2 = PySequence_GetItem(ro, 1);
|
||||
if (PyNumber_Check(o1) && PyNumber_Check(o2))
|
||||
|
Reference in New Issue
Block a user