X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ef752932bd40c566f0ea003f78e48a00c8295a9..c0a6772a7543cbec3dbd3bf8d7da9f6989d680f5:/wxPython/src/gtk/_controls_wrap.cpp diff --git a/wxPython/src/gtk/_controls_wrap.cpp b/wxPython/src/gtk/_controls_wrap.cpp index 76239269fd..094fa27ed9 100644 --- a/wxPython/src/gtk/_controls_wrap.cpp +++ b/wxPython/src/gtk/_controls_wrap.cpp @@ -706,9 +706,6 @@ SWIGSTATICINLINE(PyObject* ) : PyInt_FromLong(swig_numeric_cast(value,long)); } - -#include - static const wxString wxPyToolBarNameStr(wxToolBarNameStr); PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){ wxPyUserData* udata = (wxPyUserData*)self->GetClientData(); @@ -844,7 +841,7 @@ wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){ bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){ if (!PyCallable_Check(func)) - return False; + return false; return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func); } wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ @@ -859,8 +856,8 @@ wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){ #include "wx/wxPython/pytree.h" static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl")); -bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; } -bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; } +bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; } +bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; } void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } // C++ version of Python aware wxTreeCtrl class wxPyTreeCtrl : public wxTreeCtrl { @@ -891,8 +888,8 @@ public: bool found; bool blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { - PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False); - PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False); + PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false); + PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false); rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); Py_DECREF(o1); Py_DECREF(o2); @@ -1026,7 +1023,7 @@ PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){ num = self->GetSelections(array); for (x=0; x < num; x++) { wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); - PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True); + PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); PyList_Append(rval, item); Py_DECREF(item); } @@ -1038,7 +1035,7 @@ PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); bool blocked = wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); - PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True)); + PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); wxPyEndBlockThreads(blocked); return tup; @@ -1047,7 +1044,7 @@ PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item, wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); bool blocked = wxPyBeginBlockThreads(); PyObject* tup = PyTuple_New(2); - PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True)); + PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); wxPyEndBlockThreads(blocked); return tup; @@ -1057,7 +1054,7 @@ PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &it if (self->GetBoundingRect(item, rect, textOnly)) { bool blocked = wxPyBeginBlockThreads(); wxRect* r = new wxRect(rect); - PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True); + PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true); wxPyEndBlockThreads(blocked); return val; } @@ -1197,10 +1194,10 @@ static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) wxString const &arg8_defvalue = wxPyButtonNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxButton *result; - bool temp3 = False ; + bool temp3 = false ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = False ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1224,7 +1221,7 @@ static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } } if (obj3) { @@ -1256,7 +1253,7 @@ static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } { @@ -1330,10 +1327,10 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg wxString const &arg9_defvalue = wxPyButtonNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = False ; + bool temp4 = false ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = False ; + bool temp9 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1360,7 +1357,7 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } } if (obj4) { @@ -1392,7 +1389,7 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = True; + temp9 = true; } } { @@ -1536,7 +1533,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kw wxBitmapButton *result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = False ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1594,7 +1591,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kw { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } { @@ -1662,7 +1659,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject bool result; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = False ; + bool temp9 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -1723,7 +1720,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = True; + temp9 = true; } } { @@ -2134,10 +2131,10 @@ static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs wxString const &arg8_defvalue = wxPyCheckBoxNameStr ; wxString *arg8 = (wxString *) &arg8_defvalue ; wxCheckBox *result; - bool temp3 = False ; + bool temp3 = false ; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = False ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2161,7 +2158,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } } if (obj3) { @@ -2193,7 +2190,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } { @@ -2267,10 +2264,10 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa wxString const &arg9_defvalue = wxPyCheckBoxNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; bool result; - bool temp4 = False ; + bool temp4 = false ; wxPoint temp5 ; wxSize temp6 ; - bool temp9 = False ; + bool temp9 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2297,7 +2294,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } } if (obj4) { @@ -2329,7 +2326,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = True; + temp9 = true; } } { @@ -2638,8 +2635,8 @@ static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) wxChoice *result; wxPoint temp3 ; wxSize temp4 ; - bool temp5 = False ; - bool temp8 = False ; + bool temp5 = false ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -2678,7 +2675,7 @@ static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) SWIG_fail; } arg5 = new wxArrayString; - temp5 = True; + temp5 = true; int i, len=PySequence_Length(obj4); for (i=0; im_text = *arg2; @@ -21549,7 +21546,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs wxPyListCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = False ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21597,7 +21594,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = True; + temp7 = true; } } { @@ -21663,7 +21660,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwa bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = False ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -21714,7 +21711,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwa { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } { @@ -22120,7 +22117,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje wxString *arg4 = 0 ; int arg5 = (int) -1 ; long result; - bool temp4 = False ; + bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22140,7 +22137,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } if (obj4) { arg5 = (int)SWIG_As_int(obj4); @@ -22323,7 +22320,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22339,7 +22336,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -22628,7 +22625,7 @@ static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObj PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; - bool arg3 = (bool) False ; + bool arg3 = (bool) false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -22777,7 +22774,7 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObj PyObject *resultobj; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; - bool arg3 = (bool) True ; + bool arg3 = (bool) true ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23340,9 +23337,9 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; - bool arg4 = (bool) False ; + bool arg4 = (bool) false ; long result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23359,7 +23356,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } if (obj3) { arg4 = (bool)SWIG_As_bool(obj3); @@ -23542,7 +23539,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyO long arg2 ; wxString *arg3 = 0 ; long result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23558,7 +23555,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyO { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -23623,7 +23620,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args wxString *arg3 = 0 ; int arg4 ; long result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23640,7 +23637,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } arg4 = (int)SWIG_As_int(obj3); if (PyErr_Occurred()) SWIG_fail; @@ -23713,7 +23710,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec int arg4 = (int) wxLIST_FORMAT_LEFT ; int arg5 = (int) -1 ; long result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -23731,7 +23728,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } if (obj3) { arg4 = (int)SWIG_As_int(obj3); @@ -24083,7 +24080,7 @@ static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs wxListView *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = False ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24131,7 +24128,7 @@ static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = True; + temp7 = true; } } { @@ -24197,7 +24194,7 @@ static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwa bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = False ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -24248,7 +24245,7 @@ static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwa { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } { @@ -24279,7 +24276,7 @@ static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwa PyObject *resultobj; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; - bool arg3 = (bool) True ; + bool arg3 = (bool) true ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -25260,7 +25257,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject * PyObject *resultobj; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -25273,7 +25270,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject * { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -25358,7 +25355,7 @@ static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject PyObject *resultobj; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -25371,7 +25368,7 @@ static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -25418,7 +25415,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs wxPyTreeCtrl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = False ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -25466,7 +25463,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = True; + temp7 = true; } } { @@ -25532,7 +25529,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwa bool result; wxPoint temp4 ; wxSize temp5 ; - bool temp8 = False ; + bool temp8 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -25583,7 +25580,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwa { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } { @@ -26223,7 +26220,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26244,7 +26241,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26391,7 +26388,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, P PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) True ; + bool arg3 = (bool) true ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26431,7 +26428,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) True ; + bool arg3 = (bool) true ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -26781,7 +26778,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyO PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) True ; + bool arg3 = (bool) true ; size_t result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -27249,7 +27246,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw int arg4 = (int) -1 ; wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -27265,7 +27262,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } if (obj2) { arg3 = (int)SWIG_As_int(obj2); @@ -27314,7 +27311,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject int arg5 = (int) -1 ; wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -27338,7 +27335,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } if (obj3) { arg4 = (int)SWIG_As_int(obj3); @@ -27388,7 +27385,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject int arg6 = (int) -1 ; wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp4 = False ; + bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -27420,7 +27417,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } if (obj4) { arg5 = (int)SWIG_As_int(obj4); @@ -27470,7 +27467,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO int arg6 = (int) -1 ; wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp4 = False ; + bool temp4 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -27497,7 +27494,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } if (obj4) { arg5 = (int)SWIG_As_int(obj4); @@ -27546,7 +27543,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject int arg5 = (int) -1 ; wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; wxTreeItemId result; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -27570,7 +27567,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } if (obj3) { arg4 = (int)SWIG_As_int(obj3); @@ -27927,7 +27924,7 @@ static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) True ; + bool arg3 = (bool) true ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -28208,7 +28205,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyOb PyObject *resultobj; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; - bool arg3 = (bool) False ; + bool arg3 = (bool) false ; PyObject *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -28322,11 +28319,11 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ; wxString *arg9 = (wxString *) &arg9_defvalue ; wxGenericDirCtrl *result; - bool temp3 = False ; + bool temp3 = false ; wxPoint temp4 ; wxSize temp5 ; - bool temp7 = False ; - bool temp9 = False ; + bool temp7 = false ; + bool temp9 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -28351,7 +28348,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } } if (obj3) { @@ -28374,7 +28371,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = True; + temp7 = true; } } if (obj7) { @@ -28385,7 +28382,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * { arg9 = wxString_in_helper(obj8); if (arg9 == NULL) SWIG_fail; - temp9 = True; + temp9 = true; } } { @@ -28468,11 +28465,11 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ; wxString *arg10 = (wxString *) &arg10_defvalue ; bool result; - bool temp4 = False ; + bool temp4 = false ; wxPoint temp5 ; wxSize temp6 ; - bool temp8 = False ; - bool temp10 = False ; + bool temp8 = false ; + bool temp10 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -28500,7 +28497,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec { arg4 = wxString_in_helper(obj3); if (arg4 == NULL) SWIG_fail; - temp4 = True; + temp4 = true; } } if (obj4) { @@ -28523,7 +28520,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec { arg8 = wxString_in_helper(obj7); if (arg8 == NULL) SWIG_fail; - temp8 = True; + temp8 = true; } } if (obj8) { @@ -28534,7 +28531,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec { arg10 = wxString_in_helper(obj9); if (arg10 == NULL) SWIG_fail; - temp10 = True; + temp10 = true; } } { @@ -28582,7 +28579,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyO wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool result; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28595,7 +28592,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyO { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28657,7 +28654,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28670,7 +28667,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28762,7 +28759,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObje PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28775,7 +28772,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObje { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -28892,7 +28889,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyOb PyObject *resultobj; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -28905,7 +28902,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyOb { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -29076,7 +29073,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyOb bool *arg4 = 0 ; wxTreeItemId result; wxTreeItemId *argp2 ; - bool temp3 = False ; + bool temp3 = false ; bool temp4 ; int res4 = 0 ; PyObject * obj0 = 0 ; @@ -29096,7 +29093,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -29334,7 +29331,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *ar wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -29348,7 +29345,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *ar { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } arg3 = (int)SWIG_As_int(obj2); if (PyErr_Occurred()) SWIG_fail; @@ -29397,7 +29394,7 @@ static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwarg wxPyControl *result; wxPoint temp3 ; wxSize temp4 ; - bool temp7 = False ; + bool temp7 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -29445,7 +29442,7 @@ static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwarg { arg7 = wxString_in_helper(obj6); if (arg7 == NULL) SWIG_fail; - temp7 = True; + temp7 = true; } } { @@ -30377,7 +30374,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *k PyObject *resultobj; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -30390,7 +30387,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *k { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -30453,7 +30450,7 @@ static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject PyObject *resultobj; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; - bool temp2 = False ; + bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -30466,7 +30463,7 @@ static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; - temp2 = True; + temp2 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -30500,7 +30497,7 @@ static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) { static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { PyObject *resultobj; wxWindow *arg1 = (wxWindow *) NULL ; - bool arg2 = (bool) True ; + bool arg2 = (bool) true ; wxContextHelp *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -30813,7 +30810,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -30829,7 +30826,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -30858,7 +30855,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyOb wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; int arg2 ; wxString *arg3 = 0 ; - bool temp3 = False ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -30874,7 +30871,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyOb { arg3 = wxString_in_helper(obj2); if (arg3 == NULL) SWIG_fail; - temp3 = True; + temp3 = true; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -31082,7 +31079,7 @@ static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwar wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; wxGenericDragImage *result; - bool temp1 = False ; + bool temp1 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { @@ -31093,7 +31090,7 @@ static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwar { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; - temp1 = True; + temp1 = true; } if (obj1) { if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor, @@ -31263,7 +31260,7 @@ static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; - bool arg4 = (bool) False ; + bool arg4 = (bool) false ; wxRect *arg5 = (wxRect *) NULL ; bool result; wxPoint temp2 ;