return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
def SetAlignment(*args, **kwargs):
- """SetAlignment(self, int Alignment, bool Redraw=true)"""
+ """SetAlignment(self, int Alignment, bool Redraw=True)"""
return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
def SetDrawFaded(*args, **kwargs):
- """SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
+ """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
def SetValue(*args, **kwargs):
- """SetValue(self, String Value, bool Redraw=true)"""
+ """SetValue(self, String Value, bool Redraw=True)"""
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
bool blocked = wxPyBeginBlockThreads();
if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
PyObject* dcobj = wxPyMake_wxObject(&dc,false);
- PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), False);
- PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), False);
+ PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
+ PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
Py_DECREF(dcobj);
Py_DECREF(idobj);
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);
}
wxPyEndBlockThreads(blocked);
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;
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;
wxDynamicSashWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxEditableListBox *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
wxArrayString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
SWIG_fail;
}
arg2 = new wxArrayString;
- temp2 = True;
+ temp2 = true;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
wxString *arg2 = 0 ;
bool arg3 = (bool) true ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
wxString *arg1 = (wxString *) &arg1_defvalue ;
int arg2 = (int) -1 ;
size_t arg3 = (size_t) 100 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
int arg5 = (int) wxTL_ALIGN_LEFT ;
wxTreeListColumnInfo *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
PyObject *resultobj;
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyTreeListCtrl *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
size_t arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
size_t arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxTreeItemId *arg2 = 0 ;
wxString *arg3 = 0 ;
int arg4 = (int) -1 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
size_t result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
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 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
- bool arg3 = (bool) True ;
- bool arg4 = (bool) False ;
+ bool arg3 = (bool) true ;
+ bool arg4 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
wxTreeItemId *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString *arg3 = 0 ;
int arg4 = (int) 0 ;
wxTreeItemId result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
}
-static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
- return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
-}
static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
}
+static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
+}
static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
}
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
}
+static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) ((wxPyWindow *) x));
}
static void *_p_wxStaticLineTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxStaticLine *) x));
}
+static void *_p_wxChoicebookTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxListbookTo_p_wxControl(void *x) {
return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
}
-static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
-}
static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
}
+static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
+}
static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxCheckBox *) x));
}
static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
}
static void *_p_wxListItemTo_p_wxObject(void *x) {
return (void *)((wxObject *) ((wxListItem *) x));
}
+static void *_p_wxChoicebookTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
}
static void *_p_wxListbookEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
}
static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
}
-static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
- return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
-}
static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
}
static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
}
+static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
+}
static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
}
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
}
+static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
}
static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
}
return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
}
static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info *swig_types_initial[] = {
PyObject *resultobj;
wxGLContext *arg1 = (wxGLContext *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGLCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
int *temp7 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
if (obj6) {
wxGLCanvas *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
int *temp8 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
if (obj7) {
PyObject *resultobj;
wxGLCanvas *arg1 = (wxGLCanvas *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
def SetPen(*args, **kwargs):
- """SetPen(self, wxPen pen, bool isOutline=FALSE)"""
+ """SetPen(self, wxPen pen, bool isOutline=False)"""
return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
def SetBrush(*args, **kwargs):
- """SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
+ """SetBrush(self, wxBrush brush, bool isFill=False)"""
return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
def SetFont(*args, **kwargs):
return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
def SetDrawnBrush(*args, **kwargs):
- """SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
+ """SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
def SetDrawnFont(*args, **kwargs):
return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
def SetDrawnPen(*args, **kwargs):
- """SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
+ """SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
def SetDrawnTextColour(*args, **kwargs):
return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
def base_OnDrawBranches(*args, **kwargs):
- """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+ """base_OnDrawBranches(self, DC dc, bool erase=False)"""
return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
def base_OnMoveLinks(*args, **kwargs):
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
static PyObject *_wrap_PyShape_Select(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
wxDC *arg3 = (wxDC *) NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_PyShape_SetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
- bool arg2 = (bool) True ;
- bool arg3 = (bool) False ;
+ bool arg2 = (bool) true ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
int arg2 = (int) OP_ALL ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
bool arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxDC *arg2 = 0 ;
double arg3 ;
double arg4 ;
- bool arg5 = (bool) True ;
+ bool arg5 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxPyShape *arg1 = (wxPyShape *) 0 ;
double arg2 ;
double arg3 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxDC *arg2 = 0 ;
wxString *arg3 = 0 ;
int arg4 = (int) 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
wxPyShape *result;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
int arg3 = (int) -1 ;
- bool arg4 = (bool) False ;
+ bool arg4 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
int arg3 = (int) -1 ;
- bool arg4 = (bool) False ;
+ bool arg4 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
- bool arg2 = (bool) True ;
- bool arg3 = (bool) True ;
+ bool arg2 = (bool) true ;
+ bool arg3 = (bool) true ;
wxPyShape *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double *arg3 = (double *) 0 ;
double *arg4 = (double *) 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
long arg7 = (long) -1 ;
wxArrowHead *result;
- bool temp5 = False ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
if (obj5) {
wxString *arg6 = (wxString *) &arg6_defvalue ;
wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
long arg8 = (long) -1 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
if (obj6) {
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString *arg3 = 0 ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString *arg3 = 0 ;
wxArrowHead *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
double arg4 ;
double arg5 ;
double arg6 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
wxDC *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxPyShapeCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
wxStyledTextCtrl *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxMemoryBuffer *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
char* str = PyString_AS_STRING(obj1);
int len = PyString_GET_SIZE(obj1);
arg2 = new wxMemoryBuffer(len);
- temp2 = True;
+ temp2 = true;
memcpy(arg2->GetData(), str, len);
arg2->SetDataLen(len);
}
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg4 = 0 ;
int arg5 = (int) 0 ;
int result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString *arg3 = 0 ;
int result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString *arg3 = 0 ;
int result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString *arg3 = 0 ;
int result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
bool arg5 ;
bool arg6 ;
bool arg7 ;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
arg5 = (bool)SWIG_As_bool(obj4);
if (PyErr_Occurred()) SWIG_fail;
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
long arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wx.Panel.__init__(self, parent, id, pos, size, style, name)
self.child = None
EVT_SIZE(self, self.OnSize)
-
+
def OnSize(self, evt):
if self.child is None:
children = self.GetChildren()
EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
+CHB_DEFAULT = _controls_.CHB_DEFAULT
+CHB_TOP = _controls_.CHB_TOP
+CHB_BOTTOM = _controls_.CHB_BOTTOM
+CHB_LEFT = _controls_.CHB_LEFT
+CHB_RIGHT = _controls_.CHB_RIGHT
+CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
+class Choicebook(BookCtrl):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=EmptyString) -> Choicebook
+ """
+ newobj = _controls_.new_Choicebook(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setOORInfo(self)
+
+ def Create(*args, **kwargs):
+ """
+ Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ long style=0, String name=EmptyString) -> bool
+ """
+ return _controls_.Choicebook_Create(*args, **kwargs)
+
+ def IsVertical(*args, **kwargs):
+ """IsVertical(self) -> bool"""
+ return _controls_.Choicebook_IsVertical(*args, **kwargs)
+
+ def DeleteAllPages(*args, **kwargs):
+ """DeleteAllPages(self) -> bool"""
+ return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
+
+
+class ChoicebookPtr(Choicebook):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = Choicebook
+_controls_.Choicebook_swigregister(ChoicebookPtr)
+
+def PreChoicebook(*args, **kwargs):
+ """PreChoicebook() -> Choicebook"""
+ val = _controls_.new_PreChoicebook(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+class ChoicebookEvent(BookCtrlEvent):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
+ int nOldSel=-1) -> ChoicebookEvent
+ """
+ newobj = _controls_.new_ChoicebookEvent(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+
+class ChoicebookEventPtr(ChoicebookEvent):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = ChoicebookEvent
+_controls_.ChoicebookEvent_swigregister(ChoicebookEventPtr)
+
+wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
+wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
+EVT_CHOICEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED, 1 )
+EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, 1 )
+
#---------------------------------------------------------------------------
class BookCtrlSizer(_core.Sizer):
#define SWIGTYPE_p_wxVisualAttributes swig_types[29]
#define SWIGTYPE_p_wxTextCtrl swig_types[30]
#define SWIGTYPE_p_wxNotebook swig_types[31]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[32]
-#define SWIGTYPE_p_wxArrayString swig_types[33]
-#define SWIGTYPE_p_wxListbook swig_types[34]
-#define SWIGTYPE_p_wxStaticBitmap swig_types[35]
-#define SWIGTYPE_p_wxSlider swig_types[36]
-#define SWIGTYPE_p_wxStaticBox swig_types[37]
-#define SWIGTYPE_p_wxArrayInt swig_types[38]
-#define SWIGTYPE_p_wxContextHelp swig_types[39]
-#define SWIGTYPE_p_long swig_types[40]
-#define SWIGTYPE_p_wxEvtHandler swig_types[41]
-#define SWIGTYPE_p_wxListEvent swig_types[42]
-#define SWIGTYPE_p_wxCheckListBox swig_types[43]
-#define SWIGTYPE_p_wxListBox swig_types[44]
-#define SWIGTYPE_p_wxBookCtrl swig_types[45]
-#define SWIGTYPE_p_wxSpinButton swig_types[46]
-#define SWIGTYPE_p_wxButton swig_types[47]
-#define SWIGTYPE_p_wxBitmapButton swig_types[48]
-#define SWIGTYPE_p_wxRect swig_types[49]
-#define SWIGTYPE_p_wxContextHelpButton swig_types[50]
-#define SWIGTYPE_p_wxRadioBox swig_types[51]
-#define SWIGTYPE_p_wxScrollBar swig_types[52]
-#define SWIGTYPE_p_char swig_types[53]
-#define SWIGTYPE_p_wxTreeItemId swig_types[54]
-#define SWIGTYPE_p_wxComboBox swig_types[55]
-#define SWIGTYPE_p_wxHelpEvent swig_types[56]
-#define SWIGTYPE_p_wxListItem swig_types[57]
-#define SWIGTYPE_p_wxNotebookSizer swig_types[58]
-#define SWIGTYPE_p_wxSpinEvent swig_types[59]
-#define SWIGTYPE_p_wxGenericDragImage swig_types[60]
-#define SWIGTYPE_p_wxSpinCtrl swig_types[61]
-#define SWIGTYPE_p_wxImageList swig_types[62]
-#define SWIGTYPE_p_wxHelpProvider swig_types[63]
-#define SWIGTYPE_p_wxTextAttr swig_types[64]
-#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
-#define SWIGTYPE_p_wxPoint swig_types[66]
-#define SWIGTYPE_p_wxListbookEvent swig_types[67]
-#define SWIGTYPE_p_wxNotebookEvent swig_types[68]
-#define SWIGTYPE_p_wxObject swig_types[69]
-#define SWIGTYPE_p_wxCursor swig_types[70]
-#define SWIGTYPE_p_wxKeyEvent swig_types[71]
-#define SWIGTYPE_p_wxWindow swig_types[72]
-#define SWIGTYPE_p_wxString swig_types[73]
-#define SWIGTYPE_p_wxBitmap swig_types[74]
-#define SWIGTYPE_p_wxTreeEvent swig_types[75]
-#define SWIGTYPE_p_wxMouseEvent swig_types[76]
-#define SWIGTYPE_p_wxCommandEvent swig_types[77]
-#define SWIGTYPE_p_wxStaticText swig_types[78]
-#define SWIGTYPE_p_wxControlWithItems swig_types[79]
-#define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
-#define SWIGTYPE_p_wxColour swig_types[81]
-#define SWIGTYPE_p_wxToolBar swig_types[82]
-#define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
-#define SWIGTYPE_p_wxValidator swig_types[84]
-static swig_type_info *swig_types[86];
+#define SWIGTYPE_p_wxChoicebook swig_types[32]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[33]
+#define SWIGTYPE_p_wxArrayString swig_types[34]
+#define SWIGTYPE_p_wxListbook swig_types[35]
+#define SWIGTYPE_p_wxStaticBitmap swig_types[36]
+#define SWIGTYPE_p_wxSlider swig_types[37]
+#define SWIGTYPE_p_wxStaticBox swig_types[38]
+#define SWIGTYPE_p_wxArrayInt swig_types[39]
+#define SWIGTYPE_p_wxContextHelp swig_types[40]
+#define SWIGTYPE_p_long swig_types[41]
+#define SWIGTYPE_p_wxEvtHandler swig_types[42]
+#define SWIGTYPE_p_wxListEvent swig_types[43]
+#define SWIGTYPE_p_wxCheckListBox swig_types[44]
+#define SWIGTYPE_p_wxListBox swig_types[45]
+#define SWIGTYPE_p_wxBookCtrl swig_types[46]
+#define SWIGTYPE_p_wxSpinButton swig_types[47]
+#define SWIGTYPE_p_wxButton swig_types[48]
+#define SWIGTYPE_p_wxBitmapButton swig_types[49]
+#define SWIGTYPE_p_wxRect swig_types[50]
+#define SWIGTYPE_p_wxContextHelpButton swig_types[51]
+#define SWIGTYPE_p_wxRadioBox swig_types[52]
+#define SWIGTYPE_p_wxScrollBar swig_types[53]
+#define SWIGTYPE_p_char swig_types[54]
+#define SWIGTYPE_p_wxTreeItemId swig_types[55]
+#define SWIGTYPE_p_wxComboBox swig_types[56]
+#define SWIGTYPE_p_wxHelpEvent swig_types[57]
+#define SWIGTYPE_p_wxListItem swig_types[58]
+#define SWIGTYPE_p_wxNotebookSizer swig_types[59]
+#define SWIGTYPE_p_wxSpinEvent swig_types[60]
+#define SWIGTYPE_p_wxGenericDragImage swig_types[61]
+#define SWIGTYPE_p_wxSpinCtrl swig_types[62]
+#define SWIGTYPE_p_wxImageList swig_types[63]
+#define SWIGTYPE_p_wxHelpProvider swig_types[64]
+#define SWIGTYPE_p_wxTextAttr swig_types[65]
+#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]
+#define SWIGTYPE_p_wxPoint swig_types[67]
+#define SWIGTYPE_p_wxChoicebookEvent swig_types[68]
+#define SWIGTYPE_p_wxListbookEvent swig_types[69]
+#define SWIGTYPE_p_wxNotebookEvent swig_types[70]
+#define SWIGTYPE_p_wxObject swig_types[71]
+#define SWIGTYPE_p_wxCursor swig_types[72]
+#define SWIGTYPE_p_wxKeyEvent swig_types[73]
+#define SWIGTYPE_p_wxWindow swig_types[74]
+#define SWIGTYPE_p_wxString swig_types[75]
+#define SWIGTYPE_p_wxBitmap swig_types[76]
+#define SWIGTYPE_p_wxTreeEvent swig_types[77]
+#define SWIGTYPE_p_wxMouseEvent swig_types[78]
+#define SWIGTYPE_p_wxCommandEvent swig_types[79]
+#define SWIGTYPE_p_wxStaticText swig_types[80]
+#define SWIGTYPE_p_wxControlWithItems swig_types[81]
+#define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
+#define SWIGTYPE_p_wxColour swig_types[83]
+#define SWIGTYPE_p_wxToolBar swig_types[84]
+#define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
+#define SWIGTYPE_p_wxValidator swig_types[86]
+static swig_type_info *swig_types[88];
/* -------- TYPES TABLE (END) -------- */
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){
#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 {
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);
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);
}
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;
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;
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;
}
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
wxBitmapButton *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
bool result;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp9 = False ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
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 ;
SWIG_fail;
}
arg5 = new wxArrayString;
- temp5 = True;
+ temp5 = true;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp6 = False ;
- bool temp9 = False ;
+ bool temp6 = false ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_fail;
}
arg6 = new wxArrayString;
- temp6 = True;
+ temp6 = true;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
wxChoice *arg1 = (wxChoice *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxChoice *arg1 = (wxChoice *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
wxString *arg9 = (wxString *) &arg9_defvalue ;
wxComboBox *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp6 = False ;
- bool temp9 = False ;
+ bool temp6 = false ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
SWIG_fail;
}
arg6 = new wxArrayString;
- temp6 = True;
+ temp6 = true;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
wxString const &arg10_defvalue = wxPyChoiceNameStr ;
wxString *arg10 = (wxString *) &arg10_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp7 = False ;
- bool temp10 = False ;
+ bool temp7 = false ;
+ bool temp10 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
SWIG_fail;
}
arg7 = new wxArrayString;
- temp7 = True;
+ temp7 = true;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
{
arg10 = wxString_in_helper(obj9);
if (arg10 == NULL) SWIG_fail;
- temp10 = True;
+ temp10 = true;
}
}
{
PyObject *resultobj;
wxComboBox *arg1 = (wxComboBox *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
long arg2 ;
long arg3 ;
wxString *arg4 = 0 ;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxComboBox *arg1 = (wxComboBox *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxComboBox *arg1 = (wxComboBox *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGauge *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
bool result;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp9 = False ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxStaticBox *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxStaticLine *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxStaticText *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxStaticBitmap *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxListBox *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 ;
SWIG_fail;
}
arg5 = new wxArrayString;
- temp5 = True;
+ temp5 = true;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp6 = False ;
- bool temp9 = False ;
+ bool temp6 = false ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_fail;
}
arg6 = new wxArrayString;
- temp6 = True;
+ temp6 = true;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
wxString *arg2 = 0 ;
int arg3 ;
PyObject *arg4 = (PyObject *) NULL ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxListBox *arg1 = (wxListBox *) 0 ;
wxArrayString *arg2 = 0 ;
int arg3 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_fail;
}
arg2 = new wxArrayString;
- temp2 = True;
+ temp2 = true;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
PyObject *resultobj;
wxListBox *arg1 = (wxListBox *) 0 ;
wxArrayString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
SWIG_fail;
}
arg2 = new wxArrayString;
- temp2 = True;
+ temp2 = true;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
PyObject *resultobj;
wxListBox *arg1 = (wxListBox *) 0 ;
int arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxListBox *arg1 = (wxListBox *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
PyObject *resultobj;
wxListBox *arg1 = (wxListBox *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxListBox *arg1 = (wxListBox *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxCheckListBox *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 ;
SWIG_fail;
}
arg5 = new wxArrayString;
- temp5 = True;
+ temp5 = true;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp6 = False ;
- bool temp9 = False ;
+ bool temp6 = false ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_fail;
}
arg6 = new wxArrayString;
- temp6 = True;
+ temp6 = true;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
PyObject *resultobj;
wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
int arg2 ;
- int arg3 = (int) True ;
+ int arg3 = (int) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxTextAttr *arg1 = (wxTextAttr *) 0 ;
wxArrayInt *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
SWIG_fail;
}
arg2 = new wxArrayInt;
- temp2 = True;
+ temp2 = true;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
wxTextCtrl *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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
PyObject *resultobj;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
long arg2 ;
long arg3 ;
wxString *arg4 = 0 ;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
PyObject *resultobj;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxScrollBar *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
int arg3 ;
int arg4 ;
int arg5 ;
- bool arg6 = (bool) True ;
+ bool arg6 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxSpinButton *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
wxString *arg10 = (wxString *) &arg10_defvalue ;
wxSpinCtrl *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp10 = False ;
+ bool temp10 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg10 = wxString_in_helper(obj9);
if (arg10 == NULL) SWIG_fail;
- temp10 = True;
+ temp10 = true;
}
}
{
wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
wxString *arg11 = (wxString *) &arg11_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp11 = False ;
+ bool temp11 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg11 = wxString_in_helper(obj10);
if (arg11 == NULL) SWIG_fail;
- temp11 = True;
+ temp11 = true;
}
}
{
PyObject *resultobj;
wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
wxString *arg10 = (wxString *) &arg10_defvalue ;
wxRadioBox *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp6 = False ;
- bool temp10 = False ;
+ bool temp6 = false ;
+ bool temp10 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
SWIG_fail;
}
arg6 = new wxArrayString;
- temp6 = True;
+ temp6 = true;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
{
arg10 = wxString_in_helper(obj9);
if (arg10 == NULL) SWIG_fail;
- temp10 = True;
+ temp10 = true;
}
}
{
wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
wxString *arg11 = (wxString *) &arg11_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp7 = False ;
- bool temp11 = False ;
+ bool temp7 = false ;
+ bool temp11 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
SWIG_fail;
}
arg7 = new wxArrayString;
- temp7 = True;
+ temp7 = true;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
{
arg11 = wxString_in_helper(obj10);
if (arg11 == NULL) SWIG_fail;
- temp11 = True;
+ temp11 = true;
}
}
{
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxRadioBox *arg1 = (wxRadioBox *) 0 ;
int arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
wxRadioButton *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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
wxSlider *result;
wxPoint temp6 ;
wxSize temp7 ;
- bool temp10 = False ;
+ bool temp10 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg10 = wxString_in_helper(obj9);
if (arg10 == NULL) SWIG_fail;
- temp10 = True;
+ temp10 = true;
}
}
{
bool result;
wxPoint temp7 ;
wxSize temp8 ;
- bool temp11 = False ;
+ bool temp11 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg11 = wxString_in_helper(obj10);
if (arg11 == NULL) SWIG_fail;
- temp11 = True;
+ temp11 = true;
}
}
{
wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
wxToggleButton *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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
PyObject *resultobj;
wxToggleButton *arg1 = (wxToggleButton *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
size_t arg2 ;
wxString *arg3 = 0 ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxString *arg3 = 0 ;
- bool arg4 = (bool) False ;
+ bool arg4 = (bool) false ;
int arg5 = (int) -1 ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (bool)SWIG_As_bool(obj3);
size_t arg2 ;
wxWindow *arg3 = (wxWindow *) 0 ;
wxString *arg4 = 0 ;
- bool arg5 = (bool) False ;
+ bool arg5 = (bool) false ;
int arg6 = (int) -1 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (bool)SWIG_As_bool(obj4);
static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
wxNotebook *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxListbook *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
+static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxWindow *arg1 = (wxWindow *) 0 ;
+ int arg2 ;
+ wxPoint const &arg3_defvalue = wxDefaultPosition ;
+ wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
+ wxSize const &arg4_defvalue = wxDefaultSize ;
+ wxSize *arg4 = (wxSize *) &arg4_defvalue ;
+ long arg5 = (long) 0 ;
+ wxString const &arg6_defvalue = wxPyEmptyString ;
+ wxString *arg6 = (wxString *) &arg6_defvalue ;
+ wxChoicebook *result;
+ wxPoint temp3 ;
+ wxSize temp4 ;
+ bool temp6 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ char *kwnames[] = {
+ (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ if (obj2) {
+ {
+ arg3 = &temp3;
+ if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = &temp4;
+ if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ arg5 = (long)SWIG_As_long(obj4);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj5) {
+ {
+ arg6 = wxString_in_helper(obj5);
+ if (arg6 == NULL) SWIG_fail;
+ temp6 = true;
+ }
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxChoicebook *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxChoicebook *)new wxChoicebook();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ int arg3 ;
+ wxPoint const &arg4_defvalue = wxDefaultPosition ;
+ wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
+ wxSize const &arg5_defvalue = wxDefaultSize ;
+ wxSize *arg5 = (wxSize *) &arg5_defvalue ;
+ long arg6 = (long) 0 ;
+ wxString const &arg7_defvalue = wxPyEmptyString ;
+ wxString *arg7 = (wxString *) &arg7_defvalue ;
+ bool result;
+ wxPoint temp4 ;
+ wxSize temp5 ;
+ bool temp7 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ if (obj3) {
+ {
+ arg4 = &temp4;
+ if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = &temp5;
+ if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
+ }
+ }
+ if (obj5) {
+ arg6 = (long)SWIG_As_long(obj5);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj6) {
+ {
+ arg7 = wxString_in_helper(obj6);
+ if (arg7 == NULL) SWIG_fail;
+ temp7 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp7)
+ delete arg7;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp7)
+ delete arg7;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxChoicebook const *)arg1)->IsVertical();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxChoicebook *arg1 = (wxChoicebook *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoicebook,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->DeleteAllPages();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventType arg1 = (wxEventType) wxEVT_NULL ;
+ int arg2 = (int) 0 ;
+ int arg3 = (int) -1 ;
+ int arg4 = (int) -1 ;
+ wxChoicebookEvent *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if (obj0) {
+ arg1 = (wxEventType)SWIG_As_int(obj0);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj1) {
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj2) {
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj3) {
+ arg4 = (int)SWIG_As_int(obj3);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg8 = (wxString *) &arg8_defvalue ;
PyObject *arg9 = (PyObject *) NULL ;
wxToolBarToolBase *result;
- bool temp3 = False ;
- bool temp7 = False ;
- bool temp8 = False ;
+ bool temp3 = false ;
+ bool temp7 = false ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
SWIG_POINTER_EXCEPTION | 0)) == -1)
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
if (obj7) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
if (obj8) {
wxString *arg9 = (wxString *) &arg9_defvalue ;
PyObject *arg10 = (PyObject *) NULL ;
wxToolBarToolBase *result;
- bool temp4 = False ;
- bool temp8 = False ;
- bool temp9 = False ;
+ bool temp4 = false ;
+ bool temp8 = false ;
+ bool temp9 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
SWIG_POINTER_EXCEPTION | 0)) == -1)
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
if (obj8) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
if (obj9) {
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxToolBar *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxListItem *arg1 = (wxListItem *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxListItem *arg1 = (wxListItem *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->m_text = *arg2;
wxPyListCtrl *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString *arg4 = 0 ;
int arg5 = (int) -1 ;
long result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
long arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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 ;
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 ;
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (bool)SWIG_As_bool(obj3);
long arg2 ;
wxString *arg3 = 0 ;
long result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg3 = 0 ;
int arg4 ;
long result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
wxListView *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
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 ;
PyObject *resultobj;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyTreeCtrl *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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 ;
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 ;
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 ;
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 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
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 ;
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 ;
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
if (obj7) {
{
arg9 = wxString_in_helper(obj8);
if (arg9 == NULL) SWIG_fail;
- temp9 = True;
+ temp9 = true;
}
}
{
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 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
if (obj8) {
{
arg10 = wxString_in_helper(obj9);
if (arg10 == NULL) SWIG_fail;
- temp10 = True;
+ temp10 = true;
}
}
{
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
bool *arg4 = 0 ;
wxTreeItemId result;
wxTreeItemId *argp2 ;
- bool temp3 = False ;
+ bool temp3 = false ;
bool temp4 ;
int res4 = 0 ;
PyObject * obj0 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
wxString *arg2 = 0 ;
int arg3 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxPyControl *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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 ;
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 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
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[] = {
{
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,
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 ;
{ (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
{ (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL },
{ (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x) {
+ return (void *)((wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
return (void *)((wxSizer *) ((wxBoxSizer *) x));
}
static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
+ return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
}
static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
return (void *)((wxPyListCtrl *) ((wxListView *) x));
}
-static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
-}
-static void *_p_wxListBoxTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
-}
-static void *_p_wxChoiceTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
+static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxBookCtrl *) x));
}
static void *_p_wxToolBarTo_p_wxControl(void *x) {
return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
}
-static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxStaticBitmap *) x));
+static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxToggleButton *) x));
}
-static void *_p_wxComboBoxTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxComboBox *) x));
+static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxRadioButton *) x));
}
-static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxSpinCtrl *) x));
+static void *_p_wxPyControlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxPyControl *) x));
}
-static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxStaticBox *) x));
+static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxToolBarBase *) x));
+}
+static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
}
static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxPyListCtrl *) x));
}
-static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
+static void *_p_wxComboBoxTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxComboBox *) x));
}
-static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
+static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
}
static void *_p_wxScrollBarTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxScrollBar *) x));
}
-static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxBookCtrl *) x));
-}
-static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxRadioButton *) x));
-}
-static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxToggleButton *) x));
+static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxControlWithItems *) x));
}
static void *_p_wxGaugeTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxGauge *) x));
}
-static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxToolBarBase *) x));
-}
-static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
+static void *_p_wxStaticLineTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxStaticLine *) x));
}
-static void *_p_wxButtonTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxButton *) x));
+static void *_p_wxChoicebookTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxBookCtrl *) ((wxChoicebook *) x));
}
-static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxSpinButton *) x));
+static void *_p_wxListbookTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
}
-static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
+static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
}
-static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxControlWithItems *) x));
+static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxCheckBox *) x));
}
static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxRadioBox *) x));
}
+static void *_p_wxChoiceTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
+}
+static void *_p_wxListBoxTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
+}
+static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
+}
+static void *_p_wxListViewTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
+}
static void *_p_wxNotebookTo_p_wxControl(void *x) {
return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
}
-static void *_p_wxListbookTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
+static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxStaticBitmap *) x));
}
-static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxCheckBox *) x));
+static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxSpinCtrl *) x));
}
-static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxTextCtrl *) x));
+static void *_p_wxStaticTextTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxStaticText *) x));
}
-static void *_p_wxListViewTo_p_wxControl(void *x) {
- return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
+static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxStaticBox *) x));
}
static void *_p_wxSliderTo_p_wxControl(void *x) {
return (void *)((wxControl *) ((wxSlider *) x));
}
-static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
+static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
}
-static void *_p_wxPyControlTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxPyControl *) x));
+static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxSpinButton *) x));
}
-static void *_p_wxStaticLineTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxStaticLine *) x));
+static void *_p_wxButtonTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxButton *) x));
}
-static void *_p_wxStaticTextTo_p_wxControl(void *x) {
- return (void *)((wxControl *) ((wxStaticText *) x));
+static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
+}
+static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
+ return (void *)((wxControl *) ((wxTextCtrl *) x));
}
static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
return (void *)((wxToolBarBase *) ((wxToolBar *) x));
static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
+ return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
}
static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
}
-static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
- return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
-}
static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
}
+static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
+}
static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
}
static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
}
+static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
+ return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
}
static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
return (void *)((wxListBox *) ((wxCheckListBox *) x));
}
+static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x) {
+ return (void *)((wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
return (void *)((wxBookCtrl *) ((wxListbook *) x));
}
static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
}
+static void *_p_wxChoicebookTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxListbookTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
}
static void *_p_wxListbookEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
}
static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
}
-static void *_p_wxPyControlTo_p_wxWindow(void *x) {
- return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
-}
static void *_p_wxControlTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) ((wxControl *) x));
}
static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
}
+static void *_p_wxPyControlTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
+}
static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
}
static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
}
+static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxChoicebook *) x));
+}
static void *_p_wxListbookTo_p_wxWindow(void *x) {
return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
}
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
}
+static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxChoicebookEvent *) x));
+}
static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
}
static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
}
-static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
- return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
-}
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
}
+static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
+ return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
+}
static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
}
return (void *)((wxValidator *) ((wxPyValidator *) x));
}
static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
-static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
_swigt__p_wxVisualAttributes,
_swigt__p_wxTextCtrl,
_swigt__p_wxNotebook,
+_swigt__p_wxChoicebook,
_swigt__p_wxNotifyEvent,
_swigt__p_wxArrayString,
_swigt__p_wxListbook,
_swigt__p_wxTextAttr,
_swigt__p_wxSimpleHelpProvider,
_swigt__p_wxPoint,
+_swigt__p_wxChoicebookEvent,
_swigt__p_wxListbookEvent,
_swigt__p_wxNotebookEvent,
_swigt__p_wxObject,
PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK));
PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
+ PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT));
+ PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP));
+ PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM));
+ PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT));
+ PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT));
+ PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK));
+ PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
+ PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON));
PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR));
PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL));
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
FileNameToURL = staticmethod(FileNameToURL)
+ def URLToFileName(*args, **kwargs):
+ """URLToFileName(String url) -> String"""
+ return _core_.FileSystem_URLToFileName(*args, **kwargs)
+
+ URLToFileName = staticmethod(URLToFileName)
class FileSystemPtr(FileSystem):
def __init__(self, this):
"""FileSystem_FileNameToURL(String filename) -> String"""
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
-
def FileSystem_URLToFileName(*args, **kwargs):
"""FileSystem_URLToFileName(String url) -> String"""
return _core_.FileSystem_URLToFileName(*args, **kwargs)
+
class InternetFSHandler(CPPFileSystemHandler):
def __repr__(self):
return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __wxMemoryFSHandler_AddFile_Data(*args, **kwargs):
"""__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)"""
return _core_.__wxMemoryFSHandler_AddFile_Data(*args, **kwargs)
-def MemoryFSHandler_AddFile(filename, a, b=''):
- if isinstance(a, wx.Image):
- __wxMemoryFSHandler_AddFile_wxImage(filename, a, b)
- elif isinstance(a, wx.Bitmap):
- __wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
- elif type(a) == str:
- __wxMemoryFSHandler_AddFile_Data(filename, a)
- else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
+def MemoryFSHandler_AddFile(filename, dataItem, imgType=-1):
+ """
+ Add 'file' to the memory filesystem. The dataItem parameter can
+ either be a `wx.Bitmap`, `wx.Image` or a string that can contain
+ arbitrary data. If a bitmap or image is used then the imgType
+ parameter should specify what kind of image file it should be
+ written as, wx.BITMAP_TYPE_PNG, etc.
+ """
+ if isinstance(dataItem, wx.Image):
+ __wxMemoryFSHandler_AddFile_wxImage(filename, dataItem, imgType)
+ elif isinstance(dataItem, wx.Bitmap):
+ __wxMemoryFSHandler_AddFile_wxBitmap(filename, dataItem, imgType)
+ elif type(dataItem) == str:
+ __wxMemoryFSHandler_AddFile_Data(filename, dataItem)
+ else:
+ raise TypeError, 'wx.Image, wx.Bitmap or string expected'
class MemoryFSHandler(CPPFileSystemHandler):
def __repr__(self):
#---------------------------------------------------------------------------
+class EventLoop(object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> EventLoop"""
+ newobj = _core_.new_EventLoop(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_core_.delete_EventLoop):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def Run(*args, **kwargs):
+ """Run(self) -> int"""
+ return _core_.EventLoop_Run(*args, **kwargs)
+
+ def Exit(*args, **kwargs):
+ """Exit(self, int rc=0)"""
+ return _core_.EventLoop_Exit(*args, **kwargs)
+
+ def Pending(*args, **kwargs):
+ """Pending(self) -> bool"""
+ return _core_.EventLoop_Pending(*args, **kwargs)
+
+ def Dispatch(*args, **kwargs):
+ """Dispatch(self) -> bool"""
+ return _core_.EventLoop_Dispatch(*args, **kwargs)
+
+ def IsRunning(*args, **kwargs):
+ """IsRunning(self) -> bool"""
+ return _core_.EventLoop_IsRunning(*args, **kwargs)
+
+ def GetActive(*args, **kwargs):
+ """GetActive() -> EventLoop"""
+ return _core_.EventLoop_GetActive(*args, **kwargs)
+
+ GetActive = staticmethod(GetActive)
+ def SetActive(*args, **kwargs):
+ """SetActive(EventLoop loop)"""
+ return _core_.EventLoop_SetActive(*args, **kwargs)
+
+ SetActive = staticmethod(SetActive)
+
+class EventLoopPtr(EventLoop):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = EventLoop
+_core_.EventLoop_swigregister(EventLoopPtr)
+
+def EventLoop_GetActive(*args, **kwargs):
+ """EventLoop_GetActive() -> EventLoop"""
+ return _core_.EventLoop_GetActive(*args, **kwargs)
+
+def EventLoop_SetActive(*args, **kwargs):
+ """EventLoop_SetActive(EventLoop loop)"""
+ return _core_.EventLoop_SetActive(*args, **kwargs)
+
+#---------------------------------------------------------------------------
+
class AcceleratorEntry(object):
"""
A class used to define items in an `wx.AcceleratorTable`. wxPython
layout sizer object is already owned by the window, it will be deleted
if the deleteOld parameter is true. Note that this function will also
call SetAutoLayout implicitly with a True parameter if the sizer is
- non-NoneL and False otherwise.
+ non-None, and False otherwise.
"""
return _core_.Window_SetSizer(*args, **kwargs)
def Show(*args, **kwargs):
"""
- Show(self, item, bool show=True, bool recursive=False) -> bool
+ Show(self, item, bool show=True, bool recursive=false) -> bool
Shows or hides an item managed by the sizer. To make a sizer item
disappear or reappear, use Show followed by `Layout`. The *item*
"""
A convenience method for Show(item, False, recursive).
"""
- return self.Show(item, False, recursive)
+ return self.Show(item, false, recursive)
def ShowItems(*args, **kwargs):
"""
#define SWIGTYPE_p_wxSizerItem swig_types[2]
#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
#define SWIGTYPE_p_wxScrollEvent swig_types[4]
-#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
-#define SWIGTYPE_p_wxSizer swig_types[6]
-#define SWIGTYPE_p_wxBoxSizer swig_types[7]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
-#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
-#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
-#define SWIGTYPE_p_wxMenu swig_types[12]
-#define SWIGTYPE_p_wxEvent swig_types[13]
-#define SWIGTYPE_p_wxGridSizer swig_types[14]
-#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
-#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
-#define SWIGTYPE_p_wxItemContainer swig_types[17]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
-#define SWIGTYPE_p_wxPaintEvent swig_types[19]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
-#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
-#define SWIGTYPE_p_wxControl swig_types[24]
-#define SWIGTYPE_p_wxFont swig_types[25]
-#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
-#define SWIGTYPE_p_wxFSFile swig_types[28]
-#define SWIGTYPE_p_wxCaret swig_types[29]
-#define SWIGTYPE_p_wxRegion swig_types[30]
-#define SWIGTYPE_p_wxPoint2D swig_types[31]
-#define SWIGTYPE_p_int swig_types[32]
-#define SWIGTYPE_p_wxSize swig_types[33]
-#define SWIGTYPE_p_wxDC swig_types[34]
-#define SWIGTYPE_p_wxPySizer swig_types[35]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[36]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[37]
-#define SWIGTYPE_p_wxPyEvent swig_types[38]
-#define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
-#define SWIGTYPE_p_wxAppTraits swig_types[40]
-#define SWIGTYPE_p_wxArrayString swig_types[41]
-#define SWIGTYPE_p_wxShowEvent swig_types[42]
-#define SWIGTYPE_p_wxToolTip swig_types[43]
-#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
-#define SWIGTYPE_p_wxActivateEvent swig_types[45]
-#define SWIGTYPE_p_wxMoveEvent swig_types[46]
-#define SWIGTYPE_p_wxSizeEvent swig_types[47]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[48]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
-#define SWIGTYPE_p_wxIdleEvent swig_types[51]
-#define SWIGTYPE_p_wxMenuItem swig_types[52]
-#define SWIGTYPE_p_wxStaticBox swig_types[53]
-#define SWIGTYPE_p_long swig_types[54]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
-#define SWIGTYPE_p_wxXPMHandler swig_types[56]
-#define SWIGTYPE_p_wxPNMHandler swig_types[57]
-#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
-#define SWIGTYPE_p_wxPCXHandler swig_types[59]
-#define SWIGTYPE_p_wxGIFHandler swig_types[60]
-#define SWIGTYPE_p_wxPNGHandler swig_types[61]
-#define SWIGTYPE_p_wxANIHandler swig_types[62]
-#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
-#define SWIGTYPE_p_wxEvtHandler swig_types[64]
-#define SWIGTYPE_p_wxCURHandler swig_types[65]
-#define SWIGTYPE_p_wxICOHandler swig_types[66]
-#define SWIGTYPE_p_wxBMPHandler swig_types[67]
-#define SWIGTYPE_p_wxImageHandler swig_types[68]
-#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
-#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
-#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
-#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
-#define SWIGTYPE_p_wxRect swig_types[73]
-#define SWIGTYPE_p_wxGBSpan swig_types[74]
-#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
-#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
-#define SWIGTYPE_p_char swig_types[77]
-#define SWIGTYPE_p_wxGBPosition swig_types[78]
-#define SWIGTYPE_p_wxImage swig_types[79]
-#define SWIGTYPE_p_wxFrame swig_types[80]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
-#define SWIGTYPE_p_wxImageHistogram swig_types[82]
-#define SWIGTYPE_p_byte swig_types[83]
-#define SWIGTYPE_p_wxPoint swig_types[84]
-#define SWIGTYPE_p_wxCursor swig_types[85]
-#define SWIGTYPE_p_wxObject swig_types[86]
-#define SWIGTYPE_p_wxPyInputStream swig_types[87]
-#define SWIGTYPE_p_wxOutputStream swig_types[88]
-#define SWIGTYPE_p_wxInputStream swig_types[89]
-#define SWIGTYPE_p_wxDateTime swig_types[90]
-#define SWIGTYPE_p_wxKeyEvent swig_types[91]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
-#define SWIGTYPE_p_wxWindow swig_types[94]
-#define SWIGTYPE_p_wxMenuBar swig_types[95]
-#define SWIGTYPE_p_wxFileSystem swig_types[96]
-#define SWIGTYPE_p_wxBitmap swig_types[97]
-#define SWIGTYPE_p_wxMenuEvent swig_types[98]
-#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
-#define SWIGTYPE_p_unsigned_char swig_types[100]
-#define SWIGTYPE_p_wxCloseEvent swig_types[101]
-#define SWIGTYPE_p_wxEraseEvent swig_types[102]
-#define SWIGTYPE_p_wxMouseEvent swig_types[103]
-#define SWIGTYPE_p_wxPyApp swig_types[104]
-#define SWIGTYPE_p_wxCommandEvent swig_types[105]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
-#define SWIGTYPE_p_wxQuantize swig_types[108]
-#define SWIGTYPE_p_wxChildFocusEvent swig_types[109]
-#define SWIGTYPE_p_wxFocusEvent swig_types[110]
-#define SWIGTYPE_p_wxDropFilesEvent swig_types[111]
-#define SWIGTYPE_p_wxControlWithItems swig_types[112]
-#define SWIGTYPE_p_wxColour swig_types[113]
-#define SWIGTYPE_p_wxValidator swig_types[114]
-#define SWIGTYPE_p_wxPyValidator swig_types[115]
-static swig_type_info *swig_types[117];
+#define SWIGTYPE_p_wxEventLoop swig_types[5]
+#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
+#define SWIGTYPE_p_wxSizer swig_types[7]
+#define SWIGTYPE_p_wxBoxSizer swig_types[8]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
+#define SWIGTYPE_p_wxGridBagSizer swig_types[10]
+#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
+#define SWIGTYPE_p_wxMenu swig_types[13]
+#define SWIGTYPE_p_wxEvent swig_types[14]
+#define SWIGTYPE_p_wxGridSizer swig_types[15]
+#define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
+#define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
+#define SWIGTYPE_p_wxItemContainer swig_types[18]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
+#define SWIGTYPE_p_wxPaintEvent swig_types[20]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
+#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
+#define SWIGTYPE_p_wxControl swig_types[25]
+#define SWIGTYPE_p_wxFont swig_types[26]
+#define SWIGTYPE_p_wxMenuBarBase swig_types[27]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
+#define SWIGTYPE_p_wxFSFile swig_types[29]
+#define SWIGTYPE_p_wxCaret swig_types[30]
+#define SWIGTYPE_p_wxRegion swig_types[31]
+#define SWIGTYPE_p_wxPoint2D swig_types[32]
+#define SWIGTYPE_p_int swig_types[33]
+#define SWIGTYPE_p_wxSize swig_types[34]
+#define SWIGTYPE_p_wxDC swig_types[35]
+#define SWIGTYPE_p_wxPySizer swig_types[36]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[37]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[38]
+#define SWIGTYPE_p_wxPyEvent swig_types[39]
+#define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
+#define SWIGTYPE_p_wxAppTraits swig_types[41]
+#define SWIGTYPE_p_wxArrayString swig_types[42]
+#define SWIGTYPE_p_wxShowEvent swig_types[43]
+#define SWIGTYPE_p_wxToolTip swig_types[44]
+#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
+#define SWIGTYPE_p_wxActivateEvent swig_types[46]
+#define SWIGTYPE_p_wxMoveEvent swig_types[47]
+#define SWIGTYPE_p_wxSizeEvent swig_types[48]
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
+#define SWIGTYPE_p_wxIdleEvent swig_types[52]
+#define SWIGTYPE_p_wxMenuItem swig_types[53]
+#define SWIGTYPE_p_wxStaticBox swig_types[54]
+#define SWIGTYPE_p_long swig_types[55]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[56]
+#define SWIGTYPE_p_wxXPMHandler swig_types[57]
+#define SWIGTYPE_p_wxPNMHandler swig_types[58]
+#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
+#define SWIGTYPE_p_wxPCXHandler swig_types[60]
+#define SWIGTYPE_p_wxGIFHandler swig_types[61]
+#define SWIGTYPE_p_wxPNGHandler swig_types[62]
+#define SWIGTYPE_p_wxANIHandler swig_types[63]
+#define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
+#define SWIGTYPE_p_wxEvtHandler swig_types[65]
+#define SWIGTYPE_p_wxCURHandler swig_types[66]
+#define SWIGTYPE_p_wxICOHandler swig_types[67]
+#define SWIGTYPE_p_wxBMPHandler swig_types[68]
+#define SWIGTYPE_p_wxImageHandler swig_types[69]
+#define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
+#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
+#define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
+#define SWIGTYPE_p_wxZipFSHandler swig_types[73]
+#define SWIGTYPE_p_wxRect swig_types[74]
+#define SWIGTYPE_p_wxGBSpan swig_types[75]
+#define SWIGTYPE_p_wxPropagateOnce swig_types[76]
+#define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
+#define SWIGTYPE_p_char swig_types[78]
+#define SWIGTYPE_p_wxGBPosition swig_types[79]
+#define SWIGTYPE_p_wxImage swig_types[80]
+#define SWIGTYPE_p_wxFrame swig_types[81]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
+#define SWIGTYPE_p_wxImageHistogram swig_types[83]
+#define SWIGTYPE_p_byte swig_types[84]
+#define SWIGTYPE_p_wxPoint swig_types[85]
+#define SWIGTYPE_p_wxCursor swig_types[86]
+#define SWIGTYPE_p_wxObject swig_types[87]
+#define SWIGTYPE_p_wxPyInputStream swig_types[88]
+#define SWIGTYPE_p_wxOutputStream swig_types[89]
+#define SWIGTYPE_p_wxInputStream swig_types[90]
+#define SWIGTYPE_p_wxDateTime swig_types[91]
+#define SWIGTYPE_p_wxKeyEvent swig_types[92]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
+#define SWIGTYPE_p_wxWindow swig_types[95]
+#define SWIGTYPE_p_wxMenuBar swig_types[96]
+#define SWIGTYPE_p_wxFileSystem swig_types[97]
+#define SWIGTYPE_p_wxBitmap swig_types[98]
+#define SWIGTYPE_p_wxMenuEvent swig_types[99]
+#define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
+#define SWIGTYPE_p_unsigned_char swig_types[101]
+#define SWIGTYPE_p_wxCloseEvent swig_types[102]
+#define SWIGTYPE_p_wxEraseEvent swig_types[103]
+#define SWIGTYPE_p_wxMouseEvent swig_types[104]
+#define SWIGTYPE_p_wxPyApp swig_types[105]
+#define SWIGTYPE_p_wxCommandEvent swig_types[106]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[108]
+#define SWIGTYPE_p_wxQuantize swig_types[109]
+#define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
+#define SWIGTYPE_p_wxFocusEvent swig_types[111]
+#define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
+#define SWIGTYPE_p_wxControlWithItems swig_types[113]
+#define SWIGTYPE_p_wxColour swig_types[114]
+#define SWIGTYPE_p_wxValidator swig_types[115]
+#define SWIGTYPE_p_wxPyValidator swig_types[116]
+static swig_type_info *swig_types[118];
/* -------- TYPES TABLE (END) -------- */
const wxChar* className) {
swig_type_info* swigType = wxPyFindSwigType(className);
- wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
+ wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr"));
return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
}
if (dest != wxRect(0,0,0,0)) {
bool blocked = wxPyBeginBlockThreads();
wxRect* newRect = new wxRect(dest);
- obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
+ obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
wxPyEndBlockThreads(blocked);
return obj;
}
return SWIG_AsVal_bool(obj, (bool*)0);
}
-
- wxString wxFileSystem_URLToFileName(const wxString& url) {
- wxFileName fname = wxFileSystem::URLToFileName(url);
- return fname.GetFullPath();
- }
-
+wxString FileSystem_URLToFileName(wxString const &url){
+ wxFileName fname = wxFileSystem::URLToFileName(url);
+ return fname.GetFullPath();
+ }
void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
wxImage& image,
void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
PyObject* data) {
- wxMemoryFSHandler::AddFile(filename,
- // TODO: Verify data type
- (void*)PyString_AsString(data),
- (size_t)PyString_Size(data));
+ if (! PyString_Check(data)) {
+ wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
+ "Expected string object"));
+ return;
+ }
+
+ bool blocked = wxPyBeginBlockThreads();
+ void* ptr = (void*)PyString_AsString(data);
+ size_t size = PyString_Size(data);
+ wxPyEndBlockThreads(blocked);
+
+ wxMemoryFSHandler::AddFile(filename, ptr, size);
}
return NULL;
}
memcpy(copy, data, width*height*3);
- return new wxImage(width, height, copy, False);
+ return new wxImage(width, height, copy, false);
}
wxSize wxImage_GetSize(wxImage *self){
wxSize size(self->GetWidth(), self->GetHeight());
unsigned char* dataPtr;
if (! PyString_Check(data)) {
- PyErr_SetString(PyExc_TypeError, "Expected string object");
+ wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
+ "Expected string object"));
return /* NULL */ ;
}
wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
+#ifdef __WXMAC__
+
+// A dummy class that raises an exception if used...
+class wxEventLoop
+{
+public:
+ wxEventLoop() { wxPyRaiseNotImplemented(); }
+ int Run() { return 0; }
+ void Exit(int rc = 0) {}
+ bool Pending() const { return false; }
+ bool Dispatch() { return false; }
+ bool IsRunning() const { return false; }
+ static wxEventLoop *GetActive() { wxPyRaiseNotImplemented(); return NULL; }
+ static void SetActive(wxEventLoop* loop) { wxPyRaiseNotImplemented(); }
+};
+
+#else
+
+#include <wx/evtloop.h>
+
+#endif
+
+
static const wxString wxPyPanelNameStr(wxPanelNameStr);
wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
#if wxUSE_HOTKEY
return self->RegisterHotKey(hotkeyId, modifiers, keycode);
#else
- return False;
+ return false;
#endif
}
bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
- return False;
+ return false;
}
long wxWindow_GetHandle(wxWindow *self){
struct wxPySizerItemInfo {
wxPySizerItemInfo()
- : window(NULL), sizer(NULL), gotSize(False),
- size(wxDefaultSize), gotPos(False), pos(-1)
+ : window(NULL), sizer(NULL), gotSize(false),
+ size(wxDefaultSize), gotPos(false), pos(-1)
{}
wxWindow* window;
// try wxSize or (w,h)
if ( checkSize && wxSize_helper(item, &sizePtr)) {
info.size = *sizePtr;
- info.gotSize = True;
+ info.gotSize = true;
}
// or a single int
if (checkIdx && PyInt_Check(item)) {
info.pos = PyInt_AsLong(item);
- info.gotPos = True;
+ info.gotPos = true;
}
}
}
wxPyUserData* data = NULL;
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
if ( userData && (info.window || info.sizer || info.gotSize) )
data = new wxPyUserData(userData);
wxPyEndBlockThreads(blocked);
wxPyUserData* data = NULL;
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
if ( userData && (info.window || info.sizer || info.gotSize) )
data = new wxPyUserData(userData);
wxPyEndBlockThreads(blocked);
wxPyUserData* data = NULL;
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
if ( userData && (info.window || info.sizer || info.gotSize) )
data = new wxPyUserData(userData);
wxPyEndBlockThreads(blocked);
}
bool wxSizer_Remove(wxSizer *self,PyObject *item){
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
wxPyEndBlockThreads(blocked);
if ( info.window )
return self->Remove(info.window);
else if ( info.gotPos )
return self->Remove(info.pos);
else
- return False;
+ return false;
}
bool wxSizer_Detach(wxSizer *self,PyObject *item){
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
wxPyEndBlockThreads(blocked);
if ( info.window )
return self->Detach(info.window);
else if ( info.gotPos )
return self->Detach(info.pos);
else
- return False;
+ return false;
}
void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
wxPyEndBlockThreads(blocked);
if ( info.window )
self->SetItemMinSize(info.window, size);
}
bool wxSizer_Show(wxSizer *self,PyObject *item,bool show,bool recursive){
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
wxPyEndBlockThreads(blocked);
if ( info.window )
return self->Show(info.window, show, recursive);
return self->Show(info.sizer, show, recursive);
else if ( info.gotPos )
return self->Show(info.pos, show);
+ else
+ return false;
}
bool wxSizer_IsShown(wxSizer *self,PyObject *item){
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
wxPyEndBlockThreads(blocked);
if ( info.window )
return self->IsShown(info.window);
else if ( info.gotPos )
return self->IsShown(info.pos);
else
- return False;
+ return false;
}
// See pyclasses.h
{
if (source == Py_None) {
**obj = wxGBPosition(-1,-1);
- return True;
+ return true;
}
return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
}
{
if (source == Py_None) {
**obj = wxGBSpan(-1,-1);
- return True;
+ return true;
}
return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
}
wxPyUserData* data = NULL;
bool blocked = wxPyBeginBlockThreads();
- wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
+ wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
if ( userData && (info.window || info.sizer || info.gotSize) )
data = new wxPyUserData(userData);
wxPyEndBlockThreads(blocked);
else if (info.gotSize)
return self->Add(info.size.GetWidth(), info.size.GetHeight(),
pos, span, flag, border, data);
- return False;
+ return false;
}
wxFSFile *result;
wxPyInputStream *temp1 ;
bool created1 ;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
wxDateTime *argp5 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
arg1 = temp1->m_wxis;
- created1 = False;
+ created1 = false;
} else {
PyErr_Clear(); // clear the failure of the wxPyConvert above
- arg1 = wxPyCBInputStream_create(obj0, False);
+ arg1 = wxPyCBInputStream_create(obj0, false);
if (arg1 == NULL) {
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
SWIG_fail;
}
- created1 = True;
+ created1 = true;
}
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
if (result) {
_ptr = new wxPyInputStream(result);
}
- resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
+ resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
}
return resultobj;
fail:
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
wxFSFile *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) False ;
- bool temp2 = False ;
+ bool arg3 = (bool) false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
wxFileSystem *arg1 = (wxFileSystem *) 0 ;
wxString *arg2 = 0 ;
wxFSFile *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "filename", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
-static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
- PyObject *obj;
- if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
- SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
- Py_INCREF(obj);
- return Py_BuildValue((char *)"");
-}
static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "url", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = wxFileSystem_URLToFileName((wxString const &)*arg1);
+ result = FileSystem_URLToFileName((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
+static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxInternetFSHandler *result;
wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
wxFSFile *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
wxFSFile *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxString *arg1 = 0 ;
wxImage *arg2 = 0 ;
long arg3 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
SWIG_POINTER_EXCEPTION | 0)) == -1)
wxString *arg1 = 0 ;
wxBitmap *arg2 = 0 ;
long arg3 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
SWIG_POINTER_EXCEPTION | 0)) == -1)
PyObject *resultobj;
wxString *arg1 = 0 ;
PyObject *arg2 = (PyObject *) 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = obj1;
{
static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "filename", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxFileSystem *arg2 = 0 ;
wxString *arg3 = 0 ;
wxFSFile *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxImageHandler *arg1 = (wxImageHandler *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
long arg2 = (long) wxBITMAP_TYPE_ANY ;
int arg3 = (int) -1 ;
wxImage *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (long)SWIG_As_long(obj1);
wxString *arg2 = 0 ;
int arg3 = (int) -1 ;
wxImage *result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
{
if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
arg1 = temp1->m_wxis;
- created1 = False;
+ created1 = false;
} else {
PyErr_Clear(); // clear the failure of the wxPyConvert above
- arg1 = wxPyCBInputStream_create(obj0, False);
+ arg1 = wxPyCBInputStream_create(obj0, false);
if (arg1 == NULL) {
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
SWIG_fail;
}
- created1 = True;
+ created1 = true;
}
}
if (obj1) {
wxImage *result;
wxPyInputStream *temp1 ;
bool created1 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
arg1 = temp1->m_wxis;
- created1 = False;
+ created1 = false;
} else {
PyErr_Clear(); // clear the failure of the wxPyConvert above
- arg1 = wxPyCBInputStream_create(obj0, False);
+ arg1 = wxPyCBInputStream_create(obj0, false);
if (arg1 == NULL) {
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
SWIG_fail;
}
- created1 = True;
+ created1 = true;
}
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
PyObject *resultobj;
int arg1 = (int) 0 ;
int arg2 = (int) 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
wxImage *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxString *arg1 = 0 ;
bool result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
long arg2 = (long) wxBITMAP_TYPE_ANY ;
int result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (long)SWIG_As_long(obj1);
long arg3 = (long) wxBITMAP_TYPE_ANY ;
int arg4 = (int) -1 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (long)SWIG_As_long(obj2);
wxString *arg3 = 0 ;
int arg4 = (int) -1 ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
wxString *arg2 = 0 ;
int arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
arg1 = temp1->m_wxis;
- created1 = False;
+ created1 = false;
} else {
PyErr_Clear(); // clear the failure of the wxPyConvert above
- arg1 = wxPyCBInputStream_create(obj0, False);
+ arg1 = wxPyCBInputStream_create(obj0, false);
if (arg1 == NULL) {
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
SWIG_fail;
}
- created1 = True;
+ created1 = true;
}
}
{
{
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
arg2 = temp2->m_wxis;
- created2 = False;
+ created2 = false;
} else {
PyErr_Clear(); // clear the failure of the wxPyConvert above
- arg2 = wxPyCBInputStream_create(obj1, False);
+ arg2 = wxPyCBInputStream_create(obj1, false);
if (arg2 == NULL) {
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
SWIG_fail;
}
- created2 = True;
+ created2 = true;
}
}
if (obj2) {
bool result;
wxPyInputStream *temp2 ;
bool created2 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
arg2 = temp2->m_wxis;
- created2 = False;
+ created2 = false;
} else {
PyErr_Clear(); // clear the failure of the wxPyConvert above
- arg2 = wxPyCBInputStream_create(obj1, False);
+ arg2 = wxPyCBInputStream_create(obj1, false);
if (arg2 == NULL) {
PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
SWIG_fail;
}
- created2 = True;
+ created2 = true;
}
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxImage *arg1 = (wxImage *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
wxImage *arg1 = (wxImage *) 0 ;
double arg2 ;
wxPoint *arg3 = 0 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
wxPoint *arg5 = (wxPoint *) NULL ;
SwigValueWrapper< wxImage > result;
wxPoint temp3 ;
static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxImage *arg1 = (wxImage *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
SwigValueWrapper< wxImage > result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxImage *arg1 = (wxImage *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
SwigValueWrapper< wxImage > result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
int arg3 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxImage *arg1 = (wxImage *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
bool result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxEvent *arg1 = (wxEvent *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
int arg3 = (int) 0 ;
wxActivateEvent *result;
PyObject * obj0 = 0 ;
static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
int arg1 = (int) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
wxShowEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
int arg1 = (int) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
wxIconizeEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyApp *arg1 = (wxPyApp *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyApp *arg1 = (wxPyApp *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "val", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) NULL ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
}
+static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxEventLoop *)new wxEventLoop();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->Run();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ int arg2 = (int) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "rc", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->Exit(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxEventLoop const *)arg1)->Pending();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Dispatch();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxEventLoop const *)arg1)->IsRunning();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxEventLoop *)wxEventLoop::GetActive();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxEventLoop *arg1 = (wxEventLoop *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "loop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxEventLoop::SetActive(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
int arg1 = (int) 0 ;
PyObject *resultobj;
wxString *arg1 = 0 ;
wxAcceleratorEntry *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "label", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
wxWindow *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
wxEvtHandler *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
wxRect *arg3 = (wxRect *) NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
wxFont *arg7 = (wxFont *) NULL ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
int arg3 ;
int arg4 ;
int arg5 ;
- bool arg6 = (bool) True ;
+ bool arg6 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 ;
int arg3 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxSizer *arg2 = (wxSizer *) 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxString *arg1 = 0 ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxWindow *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
wxString *arg1 = 0 ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxWindow *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- int arg1 = (int) True ;
+ int arg1 = (int) true ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "doIt", NULL
wxPyValidator *arg1 = (wxPyValidator *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject *arg3 = (PyObject *) 0 ;
- int arg4 = (int) True ;
+ int arg4 = (int) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
long arg2 = (long) 0 ;
wxMenu *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
wxString *arg4 = (wxString *) &arg4_defvalue ;
int arg5 = (int) wxITEM_NORMAL ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxString const &arg5_defvalue = wxPyEmptyString ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp5 = False ;
+ bool temp3 = false ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
{
wxString *arg5 = (wxString *) &arg5_defvalue ;
int arg6 = (int) wxITEM_NORMAL ;
wxMenuItem *result;
- bool temp4 = False ;
- bool temp5 = False ;
+ bool temp4 = false ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
if (obj5) {
wxString const &arg5_defvalue = wxPyEmptyString ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
wxMenuItem *result;
- bool temp4 = False ;
- bool temp5 = False ;
+ bool temp4 = false ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
{
wxString const &arg5_defvalue = wxPyEmptyString ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
wxMenuItem *result;
- bool temp4 = False ;
- bool temp5 = False ;
+ bool temp4 = false ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
{
wxString const &arg6_defvalue = wxPyEmptyString ;
wxString *arg6 = (wxString *) &arg6_defvalue ;
wxMenuItem *result;
- bool temp4 = False ;
- bool temp6 = False ;
+ bool temp4 = false ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
wxString *arg4 = (wxString *) &arg4_defvalue ;
int arg5 = (int) wxITEM_NORMAL ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxString const &arg5_defvalue = wxPyEmptyString ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp5 = False ;
+ bool temp3 = false ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
{
wxMenu *arg1 = (wxMenu *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenu *arg1 = (wxMenu *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxMenu *arg1 = (wxMenu *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenu *arg2 = (wxMenu *) 0 ;
wxString *arg3 = 0 ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenu *arg3 = (wxMenu *) 0 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenu *arg3 = (wxMenu *) 0 ;
wxString *arg4 = 0 ;
wxMenu *result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
size_t arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
int result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMenuBar *arg1 = (wxMenuBar *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg5 = (int) wxITEM_NORMAL ;
wxMenu *arg6 = (wxMenu *) NULL ;
wxMenuItem *result;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "text", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxControl *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
PyObject *resultobj;
wxControl *arg1 = (wxControl *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
PyObject *arg3 = (PyObject *) NULL ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = obj2;
PyObject *resultobj;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxArrayString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
SWIG_fail;
}
arg2 = new wxArrayString;
- temp2 = True;
+ temp2 = true;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int arg3 ;
PyObject *arg4 = (PyObject *) NULL ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxItemContainer *arg1 = (wxItemContainer *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxSizer *arg1 = (wxSizer *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxSizer *arg1 = (wxSizer *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
- bool arg3 = (bool) True ;
- bool arg4 = (bool) False ;
+ bool arg3 = (bool) true ;
+ bool arg4 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{ (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
- { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
{ (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
{ (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL },
{ (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
_swigt__p_wxSizerItem,
_swigt__p_wxGBSizerItem,
_swigt__p_wxScrollEvent,
+_swigt__p_wxEventLoop,
_swigt__p_wxIndividualLayoutConstraint,
_swigt__p_wxSizer,
_swigt__p_wxBoxSizer,
Py_DECREF(strDashes);
wxPyEndBlockThreads(blocked);
}
-bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : False; }
-bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : True; }
+bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : false; }
+bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : true; }
SWIGSTATICINLINE(int)
SWIG_AsVal_short(PyObject *obj, short *val)
self->SetWidth(size.x);
self->SetHeight(size.y);
}
-bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : False; }
-bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : True; }
+bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : false; }
+bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : true; }
wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour){
if ( !colour.Ok() )
return new wxMask(bitmap, *wxBLACK);
wxCursor *new_wxCursor(wxString const *cursorName,long type,int hotSpotX,int hotSpotY){
#ifdef __WXGTK__
- wxCHECK_MSG(False, NULL,
+ wxCHECK_MSG(false, NULL,
wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
#else
return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
return wxFont::New(pointSize, family, flags, face, encoding);
}
-bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : False; }
-bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : True; }
+bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
+bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
class wxPyFontEnumerator : public wxFontEnumerator {
public:
PyObject *resultobj;
wxString *arg1 = 0 ;
wxColour *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "colorName", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
int arg2 = (int) wxBITMAP_TYPE_ANY ;
wxBitmap *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
int arg3 ;
wxPalette *arg4 = (wxPalette *) NULL ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxString *arg2 = 0 ;
int arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
int arg3 = (int) -1 ;
int arg4 = (int) -1 ;
wxIcon *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg1 = (wxString *) &wxPyEmptyString ;
int arg2 = (int) 0 ;
wxIconLocation *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
PyObject *resultobj;
wxIconLocation *arg1 = (wxIconLocation *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
long arg2 ;
wxIconBundle *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
wxIconBundle *arg1 = (wxIconBundle *) 0 ;
wxString *arg2 = 0 ;
long arg3 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (long)SWIG_As_long(obj2);
if (PyErr_Occurred()) SWIG_fail;
int arg3 = (int) 0 ;
int arg4 = (int) 0 ;
wxCursor *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->facename = *arg2;
wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFontMapper *arg1 = (wxFontMapper *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
PyObject *resultobj;
wxString *arg1 = 0 ;
int result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFontMapper *arg1 = (wxFontMapper *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
PyObject *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxFontMapper *arg1 = (wxFontMapper *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
int arg3 ;
int arg4 ;
- bool arg5 = (bool) False ;
+ bool arg5 = (bool) false ;
wxString const &arg6_defvalue = wxPyEmptyString ;
wxString *arg6 = (wxString *) &arg6_defvalue ;
int arg7 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
if (obj6) {
PyObject *resultobj;
wxString *arg1 = 0 ;
wxFont *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "info", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
wxString *arg4 = (wxString *) &arg4_defvalue ;
int arg5 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
int arg2 = (int) wxFONTENCODING_SYSTEM ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
PyObject *resultobj;
wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->CanonicalName = *arg2;
PyObject *resultobj;
wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->Description = *arg2;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
- bool arg5 = (bool) True ;
- bool arg6 = (bool) False ;
+ bool arg5 = (bool) true ;
+ bool arg6 = (bool) false ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "prefix", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxLocale *arg1 = (wxLocale *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxLocale *arg1 = (wxLocale *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
wxLanguageInfo *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "locale", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxString result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
size_t arg3 ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxBitmap *arg2 = 0 ;
int arg3 ;
int arg4 ;
- bool arg5 = (bool) False ;
+ bool arg5 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxDC *arg1 = (wxDC *) 0 ;
wxBitmap *arg2 = 0 ;
wxPoint *arg3 = 0 ;
- bool arg4 = (bool) False ;
+ bool arg4 = (bool) false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString *arg2 = 0 ;
int arg3 ;
int arg4 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxDC *arg1 = (wxDC *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg3 ;
int arg4 ;
double arg5 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
double arg4 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg7 ;
int arg8 ;
int arg9 = (int) wxCOPY ;
- bool arg10 = (bool) False ;
+ bool arg10 = (bool) false ;
int arg11 = (int) -1 ;
int arg12 = (int) -1 ;
bool result;
wxDC *arg4 = (wxDC *) 0 ;
wxPoint *arg5 = 0 ;
int arg6 = (int) wxCOPY ;
- bool arg7 = (bool) False ;
+ bool arg7 = (bool) false ;
wxPoint const &arg8_defvalue = wxDefaultPosition ;
wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
bool result;
wxRect *arg3 = 0 ;
int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
int arg5 = (int) -1 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxRect temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
int arg6 = (int) -1 ;
wxRect result;
- bool temp2 = False ;
+ bool temp2 = false ;
wxRect temp4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
SWIG_POINTER_EXCEPTION | 0)) == -1)
wxDC *arg1 = (wxDC *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
wxFont *arg7 = (wxFont *) NULL ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
wxFont *arg6 = (wxFont *) NULL ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
wxDC *arg1 = (wxDC *) 0 ;
wxString *arg2 = 0 ;
wxArrayInt result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxMetaFile *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "filename", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxMetaFileDC *result;
- bool temp1 = False ;
- bool temp4 = False ;
+ bool temp1 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
PyObject *resultobj;
int arg1 ;
int arg2 ;
- int arg3 = (int) True ;
+ int arg3 = (int) true ;
int arg4 = (int) 1 ;
wxImageList *result;
PyObject * obj0 = 0 ;
int arg4 ;
int arg5 ;
int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
- bool arg7 = (bool) (bool)False ;
+ bool arg7 = (bool) (bool)false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
wxString *arg2 = 0 ;
wxColour result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
wxString *arg2 = 0 ;
wxColour *arg3 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxColour temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg3 ;
int arg4 ;
int arg5 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
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;
int arg3 ;
int arg4 ;
int arg5 ;
- bool arg6 = (bool) False ;
+ bool arg6 = (bool) false ;
wxString const &arg7_defvalue = wxPyEmptyString ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
int arg8 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
if (obj7) {
#ifdef WXP_WITH_THREAD
return wxThread::IsMain();
#else
- return True;
+ return true;
#endif
}
// WM_PRINT. For most native widgets nothing is drawn to the dc
// at all, with or without Themes.
typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
- static bool s_triedToLoad = False;
+ static bool s_triedToLoad = false;
static PrintWindow_t pfnPrintWindow = NULL;
if ( !s_triedToLoad )
{
- s_triedToLoad = True;
+ s_triedToLoad = true;
wxDynamicLibrary dllUser32(_T("user32.dll"));
if ( dllUser32.IsLoaded() )
{
int GetMovementThreshold() { return -1; }
void SetMovementThreshold(int threshold) {}
- bool IsOk(void) { return False; }
+ bool IsOk(void) { return false; }
int GetNumberJoysticks() { return -1; }
int GetManufacturerId() { return -1; }
int GetProductId() { return -1; }
int GetVMin() { return -1; }
int GetVMax() { return -1; }
- bool HasRudder() { return False; }
- bool HasZ() { return False; }
- bool HasU() { return False; }
- bool HasV() { return False; }
- bool HasPOV() { return False; }
- bool HasPOV4Dir() { return False; }
- bool HasPOVCTS() { return False; }
+ bool HasRudder() { return false; }
+ bool HasZ() { return false; }
+ bool HasU() { return false; }
+ bool HasV() { return false; }
+ bool HasPOV() { return false; }
+ bool HasPOV4Dir() { return false; }
+ bool HasPOVCTS() { return false; }
- bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
- bool ReleaseCapture() { return False; }
+ bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
+ bool ReleaseCapture() { return false; }
};
#endif
#ifndef __WXMAC__
unsigned char* buffer;
int size;
- bool rv = False;
+ bool rv = false;
bool blocked = wxPyBeginBlockThreads();
if (!PyArg_Parse(data, "t#", &buffer, &size))
PyErr_SetString(PyExc_NotImplementedError,
"Create from data is not available on this platform.");
wxPyEndBlockThreads(blocked);
- return False;
+ return false;
#endif
}
void Sound_Stop(){ wxPyRaiseNotImplemented(); }
bool blocked = wxPyBeginBlockThreads();
PyObject* tuple = PyTuple_New(3);
PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
- wxT("wxIcon"), True));
+ wxT("wxIcon"), true));
PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
wxPyEndBlockThreads(blocked);
wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
-bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
-bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
-bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
-bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
-bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
-bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
+bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
+bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
+bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
+bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
+bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
+bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
-bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
-bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
+bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
+bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
#include <wx/dataobj.h>
PyObject* list = PyList_New(count);
for (size_t i=0; i<count; i++) {
wxDataFormat* format = new wxDataFormat(formats[i]);
- PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), True);
+ PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
PyList_Append(list, obj);
Py_DECREF(obj);
}
else {
// raise a TypeError if not a string
PyErr_SetString(PyExc_TypeError, "String expected.");
- rval = False;
+ rval = false;
}
wxPyEndBlockThreads(blocked);
return rval;
else {
// raise a TypeError if not a string
PyErr_SetString(PyExc_TypeError, "String expected.");
- rval = False;
+ rval = false;
}
wxPyEndBlockThreads(blocked);
return rval;
// return either a string or None and then act appropriately with the
// C++ version.
- bool rval = False;
+ bool rval = false;
bool blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
PyObject* ro;
bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
// For this one we simply need to make a string from buf and len
// and send it to the Python method.
- bool rval = False;
+ bool rval = false;
bool blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "SetData")) {
PyObject* data = PyString_FromStringAndSize((char*)buf, len);
void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
bool blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
- PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
+ PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
Py_DECREF(bo);
}
else {
// raise a TypeError if not a string
PyErr_SetString(PyExc_TypeError, "String expected.");
- rval = False;
+ rval = false;
}
wxPyEndBlockThreads(blocked);
return rval;
bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
const wxArrayString& filenames) {
- bool rval = False;
+ bool rval = false;
bool blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
PyObject* list = wxArrayString2PyList_helper(filenames);
#include <wx/display.h>
-bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
-bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
+bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
+bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
#if !wxUSE_DISPLAY
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
int arg2 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
int result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
bool result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg1 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- bool arg1 = (bool) True ;
+ bool arg1 = (bool) true ;
long result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
bool result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "command", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "in", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "user", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
int arg8 = (int) -1 ;
int arg9 = (int) -1 ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
- bool temp5 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
if (obj5) {
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxWindow *arg4 = (wxWindow *) NULL ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxWindow *arg4 = (wxWindow *) NULL ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
wxWindow *arg5 = (wxWindow *) NULL ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
wxPoint temp4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
wxWindow *arg4 = (wxWindow *) NULL ;
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
- bool arg7 = (bool) True ;
+ bool arg7 = (bool) true ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxWindow *arg4 = (wxWindow *) NULL ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxWindow *arg5 = (wxWindow *) NULL ;
int arg6 = (int) -1 ;
int arg7 = (int) -1 ;
- bool arg8 = (bool) True ;
+ bool arg8 = (bool) true ;
int arg9 = (int) 150 ;
int arg10 = (int) 200 ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = PyList_Size(obj2);
wxWindow *arg5 = (wxWindow *) NULL ;
int arg6 = (int) -1 ;
int arg7 = (int) -1 ;
- bool arg8 = (bool) True ;
+ bool arg8 = (bool) true ;
int arg9 = (int) 150 ;
int arg10 = (int) 200 ;
int result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = PyList_Size(obj2);
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
int result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
wxPoint const &arg8_defvalue = wxDefaultPosition ;
wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
long result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
wxPoint temp8 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
arg4 = (long)SWIG_As_long(obj3);
if (PyErr_Occurred()) SWIG_fail;
PyObject *resultobj;
wxString *arg1 = 0 ;
wxToolTip *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "tip", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyObject *resultobj;
wxToolTip *arg1 = (wxToolTip *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCaret *arg1 = (wxCaret *) 0 ;
- int arg2 = (int) True ;
+ int arg2 = (int) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxString *arg1 = 0 ;
wxBusyInfo *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "message", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyObject *resultobj;
wxFileHistory *arg1 = (wxFileHistory *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
wxSingleInstanceChecker *result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxTipProvider *arg1 = (wxTipProvider *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
wxTipProvider *arg2 = (wxTipProvider *) 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString *arg1 = 0 ;
size_t arg2 ;
wxTipProvider *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
PyObject *resultobj;
wxPyTimer *arg1 = (wxPyTimer *) 0 ;
int arg2 = (int) -1 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxTimer *arg1 = 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
wxTimerRunner *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- bool arg1 = (bool) True ;
+ bool arg1 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- bool arg1 = (bool) True ;
+ bool arg1 = (bool) true ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "bVerbose", NULL
static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "str", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "str", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) True ;
- bool arg4 = (bool) True ;
+ bool arg3 = (bool) true ;
+ bool arg4 = (bool) true ;
wxLogWindow *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxLogWindow *arg1 = (wxLogWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "msg", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
unsigned long arg1 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
unsigned long arg1 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
int arg2 = (int) wxEXEC_ASYNC ;
wxPyProcess *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
if (result) {
_ptr = new wxPyInputStream(result);
}
- resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
+ resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
}
return resultobj;
fail:
if (result) {
_ptr = new wxPyInputStream(result);
}
- resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
+ resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
}
return resultobj;
fail:
int arg2 = (int) wxEXEC_ASYNC ;
wxPyProcess *arg3 = (wxPyProcess *) NULL ;
long result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxSound *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "fileName", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
wxSound *arg1 = (wxSound *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
bool result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
wxString *arg3 = 0 ;
wxString *arg4 = 0 ;
wxFileTypeInfo *result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxArrayString *arg1 = 0 ;
wxFileTypeInfo *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "sArray", NULL
SWIG_fail;
}
arg1 = new wxArrayString;
- temp1 = True;
+ temp1 = true;
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
PyObject *resultobj;
wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
PyObject *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
PyObject *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
PyObject *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxFileType *arg1 = (wxFileType *) 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (bool)SWIG_As_bool(obj3);
wxString *arg2 = (wxString *) &arg2_defvalue ;
int arg3 = (int) 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxString *arg1 = 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 = (int) wxMAILCAP_ALL ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
wxFileType *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
wxFileType *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxSize const &arg3_defvalue = wxDefaultSize ;
wxSize *arg3 = (wxSize *) &arg3_defvalue ;
wxBitmap result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
wxSize temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
wxSize const &arg3_defvalue = wxDefaultSize ;
wxSize *arg3 = (wxSize *) &arg3_defvalue ;
wxIcon result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
wxSize temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
- bool arg1 = (bool) True ;
+ bool arg1 = (bool) true ;
wxConfigBase *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
size_t result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
size_t result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxString result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxString *arg2 = 0 ;
long arg3 = (long) 0 ;
long result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (long)SWIG_As_long(obj2);
wxString *arg2 = 0 ;
double arg3 = (double) 0.0 ;
double result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (double)SWIG_As_double(obj2);
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
long arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (long)SWIG_As_long(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg2 = 0 ;
double arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (double)SWIG_As_double(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg2 = 0 ;
bool arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
wxString *arg3 = 0 ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg4 = (wxString *) &arg4_defvalue ;
long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
wxConfig *result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
wxString *arg4 = (wxString *) &arg4_defvalue ;
long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
wxFileConfig *result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
wxConfigBase *arg1 = (wxConfigBase *) 0 ;
wxString *arg2 = 0 ;
wxConfigPathChanger *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "sz", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = (wxString *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
wxDateTime result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxDateTime::TimeZone *arg2 = 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
wxDateTime *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
wxDateTime result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxDateTime *arg1 = (wxDateTime *) 0 ;
- bool arg2 = (bool) False ;
+ bool arg2 = (bool) false ;
wxDateTime *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
if (obj1) {
{
arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
- temp2 = True;
+ temp2 = true;
}
}
{
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
int result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (obj2) {
{
arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
- temp3 = True;
+ temp3 = true;
}
}
{
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
int result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if (obj2) {
{
arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
- temp3 = True;
+ temp3 = true;
}
}
{
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
int result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxDateTime *arg1 = (wxDateTime *) 0 ;
wxString *arg2 = 0 ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
wxString result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
- temp3 = True;
+ temp3 = true;
}
}
{
wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
PyObject *resultobj;
wxString *arg1 = 0 ;
wxDataFormat *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "format", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxDataFormat *arg1 = (wxDataFormat *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxTextDataObject *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "text", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
PyObject *resultobj;
wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxPyTextDataObject *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "text", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
PyObject *resultobj;
wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxClipboard *arg1 = (wxClipboard *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
FRAME_SHAPED = _windows_.FRAME_SHAPED
+FRAME_DRAWER = _windows_.FRAME_DRAWER
DIALOG_MODAL = _windows_.DIALOG_MODAL
DIALOG_MODELESS = _windows_.DIALOG_MODELESS
USER_COLOURS = _windows_.USER_COLOURS
"""
return _windows_.TaskBarIcon_Destroy(*args, **kwargs)
+ def IsOk(*args, **kwargs):
+ """IsOk(self) -> bool"""
+ return _windows_.TaskBarIcon_IsOk(*args, **kwargs)
+
+ def __nonzero__(self): return self.IsOk()
+ def IsIconInstalled(*args, **kwargs):
+ """IsIconInstalled(self) -> bool"""
+ return _windows_.TaskBarIcon_IsIconInstalled(*args, **kwargs)
+
+ def SetIcon(*args, **kwargs):
+ """SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
+ return _windows_.TaskBarIcon_SetIcon(*args, **kwargs)
+
+ def RemoveIcon(*args, **kwargs):
+ """RemoveIcon(self) -> bool"""
+ return _windows_.TaskBarIcon_RemoveIcon(*args, **kwargs)
+
+ def PopupMenu(*args, **kwargs):
+ """PopupMenu(self, Menu menu) -> bool"""
+ return _windows_.TaskBarIcon_PopupMenu(*args, **kwargs)
+
class TaskBarIconPtr(TaskBarIcon):
def __init__(self, this):
PRINT_MODE_FILE = _windows_.PRINT_MODE_FILE
PRINT_MODE_PRINTER = _windows_.PRINT_MODE_PRINTER
PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
+PRINTBIN_DEFAULT = _windows_.PRINTBIN_DEFAULT
+PRINTBIN_ONLYONE = _windows_.PRINTBIN_ONLYONE
+PRINTBIN_LOWER = _windows_.PRINTBIN_LOWER
+PRINTBIN_MIDDLE = _windows_.PRINTBIN_MIDDLE
+PRINTBIN_MANUAL = _windows_.PRINTBIN_MANUAL
+PRINTBIN_ENVELOPE = _windows_.PRINTBIN_ENVELOPE
+PRINTBIN_ENVMANUAL = _windows_.PRINTBIN_ENVMANUAL
+PRINTBIN_AUTO = _windows_.PRINTBIN_AUTO
+PRINTBIN_TRACTOR = _windows_.PRINTBIN_TRACTOR
+PRINTBIN_SMALLFMT = _windows_.PRINTBIN_SMALLFMT
+PRINTBIN_LARGEFMT = _windows_.PRINTBIN_LARGEFMT
+PRINTBIN_LARGECAPACITY = _windows_.PRINTBIN_LARGECAPACITY
+PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
+PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
+PRINTBIN_USER = _windows_.PRINTBIN_USER
class PrintData(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
"""GetQuality(self) -> int"""
return _windows_.PrintData_GetQuality(*args, **kwargs)
+ def GetBin(*args, **kwargs):
+ """GetBin(self) -> int"""
+ return _windows_.PrintData_GetBin(*args, **kwargs)
+
def SetNoCopies(*args, **kwargs):
"""SetNoCopies(self, int v)"""
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
"""SetQuality(self, int quality)"""
return _windows_.PrintData_SetQuality(*args, **kwargs)
+ def SetBin(*args, **kwargs):
+ """SetBin(self, int bin)"""
+ return _windows_.PrintData_SetBin(*args, **kwargs)
+
def GetPrinterCommand(*args, **kwargs):
"""GetPrinterCommand(self) -> String"""
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)
// find the index of the line we need to show at the top of the window such
// that the last (fully or partially) visible line is the given one
- size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
+ size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
{ return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
// get the total height of the lines between lineMin (inclusive) and
-#ifdef __WXMAC__
-// implement dummy classes and such for wxMac
+#ifndef wxHAS_TASK_BAR_ICON
+// implement dummy classes for platforms that don't have it
class wxTaskBarIcon : public wxEvtHandler
{
wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
{ wxPyRaiseNotImplemented(); }
virtual wxEvent* Clone() const { return NULL; }
+ bool IsOk() const { return false; }
+ bool IsIconInstalled() const { return false; }
+ bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
+ bool RemoveIcon() { return false; }
+ bool PopupMenu(wxMenu *menu) { return false; }
};
enum {
// Since this one would be tough and ugly to do with the Macros...
void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
- bool hadErr = False;
+ bool hadErr = false;
bool found;
bool blocked = wxPyBeginBlockThreads();
val = PyTuple_GetItem(result, 0);
if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
- else hadErr = True;
+ else hadErr = true;
val = PyTuple_GetItem(result, 1);
if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
- else hadErr = True;
+ else hadErr = true;
val = PyTuple_GetItem(result, 2);
if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
- else hadErr = True;
+ else hadErr = true;
val = PyTuple_GetItem(result, 3);
if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
- else hadErr = True;
+ else hadErr = true;
}
else
- hadErr = True;
+ hadErr = true;
if (hadErr) {
PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
-#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
- bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
+#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
+ bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
-#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
- bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
- bool rval=False; \
- bool found; \
- bool blocked = wxPyBeginBlockThreads(); \
- if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
- PyObject* win = wxPyMake_wxObject(a,false); \
- PyObject* dc = wxPyMake_wxObject(&b,false); \
- rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
- Py_DECREF(win); \
- Py_DECREF(dc); \
- } \
- wxPyEndBlockThreads(blocked); \
- if (! found) \
- rval = PCLASS::CBNAME(a, b); \
- return rval; \
- } \
- bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
- return PCLASS::CBNAME(a, b); \
+#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
+ bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
+ bool rval=false; \
+ bool found; \
+ bool blocked = wxPyBeginBlockThreads(); \
+ if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
+ PyObject* win = wxPyMake_wxObject(a,false); \
+ PyObject* dc = wxPyMake_wxObject(&b,false); \
+ rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
+ Py_DECREF(win); \
+ Py_DECREF(dc); \
+ } \
+ wxPyEndBlockThreads(blocked); \
+ if (! found) \
+ rval = PCLASS::CBNAME(a, b); \
+ return rval; \
+ } \
+ bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
+ return PCLASS::CBNAME(a, b); \
}
wxPanel *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxScrolledWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
int arg5 ;
int arg6 = (int) 0 ;
int arg7 = (int) 0 ;
- bool arg8 = (bool) False ;
+ bool arg8 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
wxStatusBar *result;
- bool temp5 = False ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
{
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxString const &arg4_defvalue = wxPyToolBarNameStr ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxToolBar *result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxFrame *arg1 = (wxFrame *) 0 ;
wxString *arg2 = 0 ;
bool arg3 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (bool)SWIG_As_bool(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxString const &arg7_defvalue = wxPyDialogNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxDialog *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyDialogNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxDialog *arg1 = (wxDialog *) 0 ;
wxString *arg2 = 0 ;
wxSizer *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxMiniFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxStatusBar *result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
wxString *arg5 = (wxString *) &arg5_defvalue ;
bool result;
- bool temp5 = False ;
+ bool temp5 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
{
wxStatusBar *arg1 = (wxStatusBar *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxStatusBar *arg1 = (wxStatusBar *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxSplitterWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
int arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxSashWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxSashLayoutWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
int arg3 = (int) 100 ;
wxRect *arg4 = (wxRect *) NULL ;
wxTipWindow *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxPyVScrolledWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxPyVListBox *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
size_t arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxPyHtmlListBox *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
}
+static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
+ wxIcon *arg2 = 0 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ bool result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "icon",(char *) "tooltip", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
+ SWIG_POINTER_EXCEPTION | 0)) == -1)
+ SWIG_fail;
+ if (arg2 == NULL) {
+ PyErr_SetString(PyExc_TypeError,"null reference");
+ SWIG_fail;
+ }
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->RemoveIcon();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
+ wxMenu *arg2 = (wxMenu *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "menu", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->PopupMenu(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxDirDialog *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxDirDialog *arg1 = (wxDirDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxDirDialog *arg1 = (wxDirDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint const &arg7_defvalue = wxDefaultPosition ;
wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
wxFileDialog *result;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
- bool temp5 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
+ bool temp5 = false ;
wxPoint temp7 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg5 = wxString_in_helper(obj4);
if (arg5 == NULL) SWIG_fail;
- temp5 = True;
+ temp5 = true;
}
}
if (obj5) {
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFileDialog *arg1 = (wxFileDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint const &arg7_defvalue = wxDefaultPosition ;
wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
wxMultiChoiceDialog *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
PyObject *resultobj;
wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
wxArrayInt *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
SWIG_fail;
}
arg2 = new wxArrayInt;
- temp2 = True;
+ temp2 = true;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
wxPoint const &arg7_defvalue = wxDefaultPosition ;
wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
wxSingleChoiceDialog *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
arg4 = PyList_Size(obj3);
wxPoint const &arg6_defvalue = wxDefaultPosition ;
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
wxTextEntryDialog *result;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
PyObject *resultobj;
wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPoint const &arg5_defvalue = wxDefaultPosition ;
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
wxMessageDialog *result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
wxPoint temp5 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxWindow *arg4 = (wxWindow *) NULL ;
int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
wxProgressDialog *result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg3 = 0 ;
int arg4 = (int) 0 ;
wxFindReplaceDialog *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
arg4 = (int)SWIG_As_int(obj3);
wxString *arg4 = 0 ;
int arg5 = (int) 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
if (obj4) {
arg5 = (int)SWIG_As_int(obj4);
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxMDIParentFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxMDIChildFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg8_defvalue = wxPyFrameNameStr ;
wxString *arg8 = (wxString *) &arg8_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
wxPyWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
wxPyPanel *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
wxPyScrolledWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
}
+static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPrintData *arg1 = (wxPrintData *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetBin();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
+static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPrintData *arg1 = (wxPrintData *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "bin", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetBin((wxPrintBin )arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPrintData *arg1 = (wxPrintData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPrinter *arg1 = (wxPrinter *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
- int arg4 = (int) True ;
+ int arg4 = (int) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
wxString *arg4 = 0 ;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxPyPrintout *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "title", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
wxPreviewCanvas *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPreviewFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxPreviewControlBar *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxString const &arg7_defvalue = wxPyFrameNameStr ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
wxPyPreviewFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
if (obj3) {
{
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxPyPreviewControlBar *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
{ (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
{ (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
{ (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU));
PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR));
PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED));
+ PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER));
PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL));
PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS));
PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS));
PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE));
PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER));
PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM));
+ PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT));
+ PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE));
+ PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER));
+ PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE));
+ PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL));
+ PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE));
+ PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL));
+ PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO));
+ PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR));
+ PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT));
+ PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT));
+ PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY));
+ PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE));
+ PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE));
+ PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER));
PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR));
PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED));
PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR));
wxCalendarCtrl *result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
bool result;
wxPoint temp5 ;
wxSize temp6 ;
- bool temp8 = False ;
+ bool temp8 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg8 = wxString_in_helper(obj7);
if (arg8 == NULL) SWIG_fail;
- temp8 = True;
+ temp8 = true;
}
}
{
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
bool EndEdit(int row, int col, wxGrid* grid) {
- bool rv = False;
+ bool rv = false;
bool blocked = wxPyBeginBlockThreads();
if (wxPyCBH_findCallback(m_myInst, "EndEdit")) {
PyObject* go = wxPyMake_wxObject(grid,false);
if (source == Py_None) {
**obj = wxGridCellCoords(-1,-1);
- return True;
+ return true;
}
// If source is an object instance then it may already be the right type
if (! wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
goto error;
*obj = ptr;
- return True;
+ return true;
}
// otherwise a 2-tuple of integers is expected
else if (PySequence_Check(source) && PyObject_Length(source) == 2) {
**obj = wxGridCellCoords(PyInt_AsLong(o1), PyInt_AsLong(o2));
Py_DECREF(o1);
Py_DECREF(o2);
- return True;
+ return true;
}
error:
PyErr_SetString(PyExc_TypeError, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
- return False;
+ return false;
}
if (wxPySwigInstance_Check(source) &&
wxPyConvertSwigPtr(source, (void **)&ptr, wxT("wxGridCellCoords")))
- return True;
+ return true;
PyErr_Clear();
if (PySequence_Check(source) && PySequence_Length(source) == 2)
- return True;
+ return true;
- return False;
+ return false;
}
PyObject *resultobj;
wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxGridCellEnumRenderer *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "choices", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
PyObject *resultobj;
wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
int arg1 = (int) 0 ;
wxString *arg2 = (wxString *) NULL ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
wxGridCellChoiceEditor *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxGridCellEnumEditor *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "choices", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGridTableBase *arg1 = (wxGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg3 ;
wxString *arg4 = 0 ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
wxGridTableBase *arg2 = (wxGridTableBase *) 0 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
WXGRIDSELECTIONMODES arg4 = (WXGRIDSELECTIONMODES) wxGrid::wxGridSelectCells ;
bool result;
PyObject * obj0 = 0 ;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 1 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 1 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 = (int) 0 ;
int arg3 = (int) 1 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
int arg5 = (int) wxLEFT ;
int arg6 = (int) wxTOP ;
int arg7 = (int) wxHORIZONTAL ;
- bool temp3 = False ;
+ bool temp3 = false ;
wxRect temp4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
arg4 = &temp4;
wxArrayString *arg3 = 0 ;
long *arg4 = (long *) 0 ;
long *arg5 = (long *) 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
long temp4 ;
int res4 = 0 ;
long temp5 ;
SWIG_fail;
}
arg3 = new wxArrayString;
- temp3 = True;
+ temp3 = true;
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
int arg2 ;
int arg3 ;
wxString *arg4 = 0 ;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
int arg3 ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
PyObject *resultobj;
wxGrid *arg1 = (wxGrid *) 0 ;
int arg2 ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
int arg3 ;
int arg4 ;
int arg5 ;
- bool arg6 = (bool) False ;
+ bool arg6 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxString *arg2 = 0 ;
wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ;
wxGridCellEditor *arg4 = (wxGridCellEditor *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGridCellRenderer,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellEditor *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxGrid *arg1 = (wxGrid *) 0 ;
wxString *arg2 = 0 ;
wxGridCellRenderer *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
int arg7 = (int) -1 ;
- bool arg8 = (bool) True ;
- bool arg9 = (bool) False ;
- bool arg10 = (bool) False ;
- bool arg11 = (bool) False ;
- bool arg12 = (bool) False ;
+ bool arg8 = (bool) true ;
+ bool arg9 = (bool) false ;
+ bool arg10 = (bool) false ;
+ bool arg11 = (bool) false ;
+ bool arg12 = (bool) false ;
wxGridEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
int arg4 = (int) -1 ;
int arg5 = (int) -1 ;
int arg6 = (int) -1 ;
- bool arg7 = (bool) False ;
- bool arg8 = (bool) False ;
- bool arg9 = (bool) False ;
- bool arg10 = (bool) False ;
+ bool arg7 = (bool) false ;
+ bool arg8 = (bool) false ;
+ bool arg9 = (bool) false ;
+ bool arg10 = (bool) false ;
wxGridSizeEvent *result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxGrid *arg3 = (wxGrid *) 0 ;
wxGridCellCoords *arg4 = 0 ;
wxGridCellCoords *arg5 = 0 ;
- bool arg6 = (bool) True ;
- bool arg7 = (bool) False ;
- bool arg8 = (bool) False ;
- bool arg9 = (bool) False ;
- bool arg10 = (bool) False ;
+ bool arg6 = (bool) true ;
+ bool arg7 = (bool) false ;
+ bool arg8 = (bool) false ;
+ bool arg9 = (bool) false ;
+ bool arg10 = (bool) false ;
wxGridRangeSelectEvent *result;
wxGridCellCoords temp4 ;
wxGridCellCoords temp5 ;
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlWinParser_SetFonts(*args, **kwargs)
- def NormalizeFontSizes(*args, **kwargs):
- """NormalizeFontSizes(self, int size=-1)"""
- return _html.HtmlWinParser_NormalizeFontSizes(*args, **kwargs)
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
def GetContainer(*args, **kwargs):
"""GetContainer(self) -> HtmlContainerCell"""
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlWindow_SetFonts(*args, **kwargs)
- def NormalizeFontSizes(*args, **kwargs):
- """NormalizeFontSizes(self, int size=-1)"""
- return _html.HtmlWindow_NormalizeFontSizes(*args, **kwargs)
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
def SetTitle(*args, **kwargs):
"""SetTitle(self, String title)"""
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
- def NormalizeFontSizes(*args, **kwargs):
- """NormalizeFontSizes(self, int size=-1)"""
- return _html.HtmlDCRenderer_NormalizeFontSizes(*args, **kwargs)
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
def Render(*args, **kwargs):
"""
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlPrintout_SetFonts(*args, **kwargs)
- def NormalizeFontSizes(*args, **kwargs):
- """NormalizeFontSizes(self, int size=-1)"""
- return _html.HtmlPrintout_NormalizeFontSizes(*args, **kwargs)
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
def SetMargins(*args, **kwargs):
"""
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
- def NormalizeFontSizes(*args, **kwargs):
- """NormalizeFontSizes(self, int size=-1)"""
- return _html.HtmlEasyPrinting_NormalizeFontSizes(*args, **kwargs)
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
def GetPrintData(*args, **kwargs):
"""GetPrintData(self) -> PrintData"""
// returns True if this filter is able to open&read given file
virtual bool CanRead(const wxFSFile& file) const {
- bool rval = False;
+ bool rval = false;
bool found;
bool blocked = wxPyBeginBlockThreads();
if ((found = wxPyCBH_findCallback(m_myInst, "CanRead"))) {
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
wxHtmlLinkInfo *result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlTag *arg1 = (wxHtmlTag *) 0 ;
wxString *arg2 = 0 ;
- int arg3 = (int) False ;
+ int arg3 = (int) false ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
wxString *arg2 = 0 ;
wxObject *result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlParser *arg1 = (wxHtmlParser *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
-static PyObject *_wrap_HtmlWinParser_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
int arg2 = (int) -1 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "size", NULL
+ (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWinParser_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWinParser_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlWinParser,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->NormalizeFontSizes(arg2);
+ (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return resultobj;
fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return NULL;
}
PyObject *resultobj;
wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlCell *arg1 = (wxHtmlCell *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
wxDC *arg2 = 0 ;
wxHtmlWordCell *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
SWIG_POINTER_EXCEPTION | 0)) == -1)
wxPyHtmlWindow *result;
wxPoint temp3 ;
wxSize temp4 ;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
{
bool result;
wxPoint temp4 ;
wxSize temp5 ;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
{
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxFrame *arg2 = (wxFrame *) 0 ;
wxString *arg3 = 0 ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
-static PyObject *_wrap_HtmlWindow_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
int arg2 = (int) -1 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "size", NULL
+ (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlWindow_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlWindow_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlWindow,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->NormalizeFontSizes(arg2);
+ (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return resultobj;
fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return NULL;
}
PyObject *resultobj;
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool arg4 = (bool) True ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool arg4 = (bool) true ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
}
-static PyObject *_wrap_HtmlDCRenderer_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ;
int arg2 = (int) -1 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "size", NULL
+ (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlDCRenderer_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlDCRenderer_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlDCRenderer,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->NormalizeFontSizes(arg2);
+ (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return resultobj;
fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return NULL;
}
int arg2 ;
int arg3 ;
int arg4 = (int) 0 ;
- int arg5 = (int) False ;
+ int arg5 = (int) false ;
int arg6 = (int) INT_MAX ;
int *arg7 = (int *) NULL ;
int arg8 = (int) 0 ;
wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxHtmlPrintout *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "title", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool arg4 = (bool) True ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool arg4 = (bool) true ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
PyObject *resultobj;
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) wxPAGE_ALL ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) wxPAGE_ALL ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
}
-static PyObject *_wrap_HtmlPrintout_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ;
int arg2 = (int) -1 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "size", NULL
+ (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlPrintout_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlPrintout_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlPrintout,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->NormalizeFontSizes(arg2);
+ (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return resultobj;
fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return NULL;
}
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxWindow *arg2 = (wxWindow *) NULL ;
wxHtmlEasyPrinting *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
PyObject *resultobj;
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) wxPAGE_ALL ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
wxString *arg2 = 0 ;
int arg3 = (int) wxPAGE_ALL ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
}
-static PyObject *_wrap_HtmlEasyPrinting_NormalizeFontSizes(PyObject *, PyObject *args, PyObject *kwargs) {
+static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ;
int arg2 = (int) -1 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
char *kwnames[] = {
- (char *) "self",(char *) "size", NULL
+ (char *) "self",(char *) "size",(char *) "normal_face",(char *) "fixed_face", NULL
};
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HtmlEasyPrinting_NormalizeFontSizes",kwnames,&obj0,&obj1)) goto fail;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HtmlEasyPrinting_SetStandardFonts",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHtmlEasyPrinting,
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->NormalizeFontSizes(arg2);
+ (arg1)->SetStandardFonts(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return resultobj;
fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
return NULL;
}
wxString *arg3 = 0 ;
wxString *arg4 = 0 ;
wxHtmlBookRecord *result;
- bool temp1 = False ;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg4 = (int) wxHF_DEFAULTSTYLE ;
wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ;
wxHtmlHelpFrame *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
PyObject *resultobj;
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
wxString *arg2 = 0 ;
- int arg3 = (int) False ;
+ int arg3 = (int) false ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (int)SWIG_As_int(obj2);
PyObject *resultobj;
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxConfigBase *arg2 = (wxConfigBase *) 0 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
{ (char *)"HtmlWinParser_GetCharWidth", (PyCFunction) _wrap_HtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWinParser_GetWindow", (PyCFunction) _wrap_HtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWinParser_SetFonts", (PyCFunction) _wrap_HtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
- { (char *)"HtmlWinParser_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWinParser_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"HtmlWinParser_SetStandardFonts", (PyCFunction) _wrap_HtmlWinParser_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWinParser_GetContainer", (PyCFunction) _wrap_HtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWinParser_OpenContainer", (PyCFunction) _wrap_HtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWinParser_SetContainer", (PyCFunction) _wrap_HtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_HtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_HtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWindow_SetFonts", (PyCFunction) _wrap_HtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
- { (char *)"HtmlWindow_NormalizeFontSizes", (PyCFunction) _wrap_HtmlWindow_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"HtmlWindow_SetStandardFonts", (PyCFunction) _wrap_HtmlWindow_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWindow_SetTitle", (PyCFunction) _wrap_HtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWindow_SetBorders", (PyCFunction) _wrap_HtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlWindow_ReadCustomization", (PyCFunction) _wrap_HtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlDCRenderer_SetSize", (PyCFunction) _wrap_HtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_HtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlDCRenderer_SetFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
- { (char *)"HtmlDCRenderer_NormalizeFontSizes", (PyCFunction) _wrap_HtmlDCRenderer_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"HtmlDCRenderer_SetStandardFonts", (PyCFunction) _wrap_HtmlDCRenderer_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlDCRenderer_Render", (PyCFunction) _wrap_HtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_HtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlDCRenderer_swigregister", HtmlDCRenderer_swigregister, METH_VARARGS, NULL },
{ (char *)"HtmlPrintout_SetHeader", (PyCFunction) _wrap_HtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlPrintout_SetFooter", (PyCFunction) _wrap_HtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlPrintout_SetFonts", (PyCFunction) _wrap_HtmlPrintout_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
- { (char *)"HtmlPrintout_NormalizeFontSizes", (PyCFunction) _wrap_HtmlPrintout_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"HtmlPrintout_SetStandardFonts", (PyCFunction) _wrap_HtmlPrintout_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlPrintout_SetMargins", (PyCFunction) _wrap_HtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlPrintout_AddFilter", (PyCFunction) _wrap_HtmlPrintout_AddFilter, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlPrintout_CleanUpStatics", (PyCFunction) _wrap_HtmlPrintout_CleanUpStatics, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_HtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_HtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlEasyPrinting_SetFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetFonts, METH_VARARGS | METH_KEYWORDS, NULL },
- { (char *)"HtmlEasyPrinting_NormalizeFontSizes", (PyCFunction) _wrap_HtmlEasyPrinting_NormalizeFontSizes, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"HtmlEasyPrinting_SetStandardFonts", (PyCFunction) _wrap_HtmlEasyPrinting_SetStandardFonts, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_HtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"HtmlEasyPrinting_swigregister", HtmlEasyPrinting_swigregister, METH_VARARGS, NULL },
PyObject *resultobj;
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
int arg2 = (int) -1 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
wxWizardEvent *result;
PyObject * obj0 = 0 ;
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
wxString *arg3 = (wxString *) &wxPyEmptyString ;
wxPyWizardPage *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
wxWizard *result;
- bool temp3 = False ;
+ bool temp3 = false ;
wxPoint temp5 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxPoint const &arg6_defvalue = wxDefaultPosition ;
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
bool result;
- bool temp4 = False ;
+ bool temp4 = false ;
wxPoint temp6 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
PyObject *resultobj;
wxWizard *arg1 = (wxWizard *) 0 ;
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
--- /dev/null
+# This file was created automatically by SWIG.
+# Don't modify this file, modify the SWIG interface instead.
+
+"""
+The `XmlResource` class allows program resources defining menus, layout of
+controls on a panel, etc. to be loaded from an XML file.
+"""
+
+import _xrc
+
+import _core
+wx = _core
+__docfilter__ = wx.__DocFilter(globals())
+#---------------------------------------------------------------------------
+
+WX_XMLRES_CURRENT_VERSION_MAJOR = _xrc.WX_XMLRES_CURRENT_VERSION_MAJOR
+WX_XMLRES_CURRENT_VERSION_MINOR = _xrc.WX_XMLRES_CURRENT_VERSION_MINOR
+WX_XMLRES_CURRENT_VERSION_RELEASE = _xrc.WX_XMLRES_CURRENT_VERSION_RELEASE
+WX_XMLRES_CURRENT_VERSION_REVISION = _xrc.WX_XMLRES_CURRENT_VERSION_REVISION
+XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
+XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
+XRC_NO_RELOADING = _xrc.XRC_NO_RELOADING
+class XmlResource(_core.Object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
+ newobj = _xrc.new_XmlResource(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self.InitAllHandlers()
+
+ def __del__(self, destroy=_xrc.delete_XmlResource):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def Load(*args, **kwargs):
+ """Load(self, String filemask) -> bool"""
+ return _xrc.XmlResource_Load(*args, **kwargs)
+
+ def LoadFromString(*args, **kwargs):
+ """LoadFromString(self, String data) -> bool"""
+ return _xrc.XmlResource_LoadFromString(*args, **kwargs)
+
+ def InitAllHandlers(*args, **kwargs):
+ """InitAllHandlers(self)"""
+ return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
+
+ def AddHandler(*args, **kwargs):
+ """AddHandler(self, XmlResourceHandler handler)"""
+ return _xrc.XmlResource_AddHandler(*args, **kwargs)
+
+ def InsertHandler(*args, **kwargs):
+ """InsertHandler(self, XmlResourceHandler handler)"""
+ return _xrc.XmlResource_InsertHandler(*args, **kwargs)
+
+ def ClearHandlers(*args, **kwargs):
+ """ClearHandlers(self)"""
+ return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
+
+ def AddSubclassFactory(*args, **kwargs):
+ """AddSubclassFactory(XmlSubclassFactory factory)"""
+ return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
+
+ AddSubclassFactory = staticmethod(AddSubclassFactory)
+ def LoadMenu(*args, **kwargs):
+ """LoadMenu(self, String name) -> Menu"""
+ return _xrc.XmlResource_LoadMenu(*args, **kwargs)
+
+ def LoadMenuBar(*args, **kwargs):
+ """LoadMenuBar(self, String name) -> MenuBar"""
+ return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
+
+ def LoadMenuBarOnFrame(*args, **kwargs):
+ """LoadMenuBarOnFrame(self, Window parent, String name) -> MenuBar"""
+ return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
+
+ def LoadToolBar(*args, **kwargs):
+ """LoadToolBar(self, Window parent, String name) -> wxToolBar"""
+ return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
+
+ def LoadDialog(*args, **kwargs):
+ """LoadDialog(self, Window parent, String name) -> wxDialog"""
+ return _xrc.XmlResource_LoadDialog(*args, **kwargs)
+
+ def LoadOnDialog(*args, **kwargs):
+ """LoadOnDialog(self, wxDialog dlg, Window parent, String name) -> bool"""
+ return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
+
+ def LoadPanel(*args, **kwargs):
+ """LoadPanel(self, Window parent, String name) -> wxPanel"""
+ return _xrc.XmlResource_LoadPanel(*args, **kwargs)
+
+ def LoadOnPanel(*args, **kwargs):
+ """LoadOnPanel(self, wxPanel panel, Window parent, String name) -> bool"""
+ return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
+
+ def LoadFrame(*args, **kwargs):
+ """LoadFrame(self, Window parent, String name) -> wxFrame"""
+ return _xrc.XmlResource_LoadFrame(*args, **kwargs)
+
+ def LoadOnFrame(*args, **kwargs):
+ """LoadOnFrame(self, wxFrame frame, Window parent, String name) -> bool"""
+ return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
+
+ def LoadObject(*args, **kwargs):
+ """LoadObject(self, Window parent, String name, String classname) -> Object"""
+ return _xrc.XmlResource_LoadObject(*args, **kwargs)
+
+ def LoadOnObject(*args, **kwargs):
+ """LoadOnObject(self, Object instance, Window parent, String name, String classname) -> bool"""
+ return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
+
+ def LoadBitmap(*args, **kwargs):
+ """LoadBitmap(self, String name) -> Bitmap"""
+ return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
+
+ def LoadIcon(*args, **kwargs):
+ """LoadIcon(self, String name) -> Icon"""
+ return _xrc.XmlResource_LoadIcon(*args, **kwargs)
+
+ def AttachUnknownControl(*args, **kwargs):
+ """AttachUnknownControl(self, String name, Window control, Window parent=None) -> bool"""
+ return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
+
+ def GetXRCID(*args, **kwargs):
+ """GetXRCID(String str_id) -> int"""
+ return _xrc.XmlResource_GetXRCID(*args, **kwargs)
+
+ GetXRCID = staticmethod(GetXRCID)
+ def GetVersion(*args, **kwargs):
+ """GetVersion(self) -> long"""
+ return _xrc.XmlResource_GetVersion(*args, **kwargs)
+
+ def CompareVersion(*args, **kwargs):
+ """CompareVersion(self, int major, int minor, int release, int revision) -> int"""
+ return _xrc.XmlResource_CompareVersion(*args, **kwargs)
+
+ def Get(*args, **kwargs):
+ """Get() -> XmlResource"""
+ return _xrc.XmlResource_Get(*args, **kwargs)
+
+ Get = staticmethod(Get)
+ def Set(*args, **kwargs):
+ """Set(XmlResource res) -> XmlResource"""
+ return _xrc.XmlResource_Set(*args, **kwargs)
+
+ Set = staticmethod(Set)
+ def GetFlags(*args, **kwargs):
+ """GetFlags(self) -> int"""
+ return _xrc.XmlResource_GetFlags(*args, **kwargs)
+
+ def SetFlags(*args, **kwargs):
+ """SetFlags(self, int flags)"""
+ return _xrc.XmlResource_SetFlags(*args, **kwargs)
+
+
+class XmlResourcePtr(XmlResource):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlResource
+_xrc.XmlResource_swigregister(XmlResourcePtr)
+cvar = _xrc.cvar
+UTF8String = cvar.UTF8String
+StyleString = cvar.StyleString
+SizeString = cvar.SizeString
+PosString = cvar.PosString
+BitmapString = cvar.BitmapString
+IconString = cvar.IconString
+FontString = cvar.FontString
+
+def EmptyXmlResource(*args, **kwargs):
+ """EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource"""
+ val = _xrc.new_EmptyXmlResource(*args, **kwargs)
+ val.thisown = 1
+ val.InitAllHandlers()
+ return val
+
+def XmlResource_AddSubclassFactory(*args, **kwargs):
+ """XmlResource_AddSubclassFactory(XmlSubclassFactory factory)"""
+ return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
+
+def XmlResource_GetXRCID(*args, **kwargs):
+ """XmlResource_GetXRCID(String str_id) -> int"""
+ return _xrc.XmlResource_GetXRCID(*args, **kwargs)
+
+def XmlResource_Get(*args, **kwargs):
+ """XmlResource_Get() -> XmlResource"""
+ return _xrc.XmlResource_Get(*args, **kwargs)
+
+def XmlResource_Set(*args, **kwargs):
+ """XmlResource_Set(XmlResource res) -> XmlResource"""
+ return _xrc.XmlResource_Set(*args, **kwargs)
+
+def XRCID(str_id):
+ return XmlResource_GetXRCID(str_id)
+
+def XRCCTRL(window, str_id, *ignoreargs):
+ return window.FindWindowById(XRCID(str_id))
+
+#---------------------------------------------------------------------------
+
+class XmlSubclassFactory(object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> XmlSubclassFactory"""
+ newobj = _xrc.new_XmlSubclassFactory(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, XmlSubclassFactory)
+
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(self, PyObject self, PyObject _class)"""
+ return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
+
+
+class XmlSubclassFactoryPtr(XmlSubclassFactory):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlSubclassFactory
+_xrc.XmlSubclassFactory_swigregister(XmlSubclassFactoryPtr)
+
+#---------------------------------------------------------------------------
+
+XML_ELEMENT_NODE = _xrc.XML_ELEMENT_NODE
+XML_ATTRIBUTE_NODE = _xrc.XML_ATTRIBUTE_NODE
+XML_TEXT_NODE = _xrc.XML_TEXT_NODE
+XML_CDATA_SECTION_NODE = _xrc.XML_CDATA_SECTION_NODE
+XML_ENTITY_REF_NODE = _xrc.XML_ENTITY_REF_NODE
+XML_ENTITY_NODE = _xrc.XML_ENTITY_NODE
+XML_PI_NODE = _xrc.XML_PI_NODE
+XML_COMMENT_NODE = _xrc.XML_COMMENT_NODE
+XML_DOCUMENT_NODE = _xrc.XML_DOCUMENT_NODE
+XML_DOCUMENT_TYPE_NODE = _xrc.XML_DOCUMENT_TYPE_NODE
+XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
+XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
+XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
+class XmlProperty(object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, String name=EmptyString, String value=EmptyString,
+ XmlProperty next=None) -> XmlProperty
+ """
+ newobj = _xrc.new_XmlProperty(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetName(*args, **kwargs):
+ """GetName(self) -> String"""
+ return _xrc.XmlProperty_GetName(*args, **kwargs)
+
+ def GetValue(*args, **kwargs):
+ """GetValue(self) -> String"""
+ return _xrc.XmlProperty_GetValue(*args, **kwargs)
+
+ def GetNext(*args, **kwargs):
+ """GetNext(self) -> XmlProperty"""
+ return _xrc.XmlProperty_GetNext(*args, **kwargs)
+
+ def SetName(*args, **kwargs):
+ """SetName(self, String name)"""
+ return _xrc.XmlProperty_SetName(*args, **kwargs)
+
+ def SetValue(*args, **kwargs):
+ """SetValue(self, String value)"""
+ return _xrc.XmlProperty_SetValue(*args, **kwargs)
+
+ def SetNext(*args, **kwargs):
+ """SetNext(self, XmlProperty next)"""
+ return _xrc.XmlProperty_SetNext(*args, **kwargs)
+
+
+class XmlPropertyPtr(XmlProperty):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlProperty
+_xrc.XmlProperty_swigregister(XmlPropertyPtr)
+
+class XmlNode(object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, XmlNode parent=None, int type=0, String name=EmptyString,
+ String content=EmptyString, XmlProperty props=None,
+ XmlNode next=None) -> XmlNode
+ """
+ newobj = _xrc.new_XmlNode(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_xrc.delete_XmlNode):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def AddChild(*args, **kwargs):
+ """AddChild(self, XmlNode child)"""
+ return _xrc.XmlNode_AddChild(*args, **kwargs)
+
+ def InsertChild(*args, **kwargs):
+ """InsertChild(self, XmlNode child, XmlNode before_node)"""
+ return _xrc.XmlNode_InsertChild(*args, **kwargs)
+
+ def RemoveChild(*args, **kwargs):
+ """RemoveChild(self, XmlNode child) -> bool"""
+ return _xrc.XmlNode_RemoveChild(*args, **kwargs)
+
+ def AddProperty(*args, **kwargs):
+ """AddProperty(self, XmlProperty prop)"""
+ return _xrc.XmlNode_AddProperty(*args, **kwargs)
+
+ def AddPropertyName(*args, **kwargs):
+ """AddPropertyName(self, String name, String value)"""
+ return _xrc.XmlNode_AddPropertyName(*args, **kwargs)
+
+ def DeleteProperty(*args, **kwargs):
+ """DeleteProperty(self, String name) -> bool"""
+ return _xrc.XmlNode_DeleteProperty(*args, **kwargs)
+
+ def GetType(*args, **kwargs):
+ """GetType(self) -> int"""
+ return _xrc.XmlNode_GetType(*args, **kwargs)
+
+ def GetName(*args, **kwargs):
+ """GetName(self) -> String"""
+ return _xrc.XmlNode_GetName(*args, **kwargs)
+
+ def GetContent(*args, **kwargs):
+ """GetContent(self) -> String"""
+ return _xrc.XmlNode_GetContent(*args, **kwargs)
+
+ def GetParent(*args, **kwargs):
+ """GetParent(self) -> XmlNode"""
+ return _xrc.XmlNode_GetParent(*args, **kwargs)
+
+ def GetNext(*args, **kwargs):
+ """GetNext(self) -> XmlNode"""
+ return _xrc.XmlNode_GetNext(*args, **kwargs)
+
+ def GetChildren(*args, **kwargs):
+ """GetChildren(self) -> XmlNode"""
+ return _xrc.XmlNode_GetChildren(*args, **kwargs)
+
+ def GetProperties(*args, **kwargs):
+ """GetProperties(self) -> XmlProperty"""
+ return _xrc.XmlNode_GetProperties(*args, **kwargs)
+
+ def GetPropVal(*args, **kwargs):
+ """GetPropVal(self, String propName, String defaultVal) -> String"""
+ return _xrc.XmlNode_GetPropVal(*args, **kwargs)
+
+ def HasProp(*args, **kwargs):
+ """HasProp(self, String propName) -> bool"""
+ return _xrc.XmlNode_HasProp(*args, **kwargs)
+
+ def SetType(*args, **kwargs):
+ """SetType(self, int type)"""
+ return _xrc.XmlNode_SetType(*args, **kwargs)
+
+ def SetName(*args, **kwargs):
+ """SetName(self, String name)"""
+ return _xrc.XmlNode_SetName(*args, **kwargs)
+
+ def SetContent(*args, **kwargs):
+ """SetContent(self, String con)"""
+ return _xrc.XmlNode_SetContent(*args, **kwargs)
+
+ def SetParent(*args, **kwargs):
+ """SetParent(self, XmlNode parent)"""
+ return _xrc.XmlNode_SetParent(*args, **kwargs)
+
+ def SetNext(*args, **kwargs):
+ """SetNext(self, XmlNode next)"""
+ return _xrc.XmlNode_SetNext(*args, **kwargs)
+
+ def SetChildren(*args, **kwargs):
+ """SetChildren(self, XmlNode child)"""
+ return _xrc.XmlNode_SetChildren(*args, **kwargs)
+
+ def SetProperties(*args, **kwargs):
+ """SetProperties(self, XmlProperty prop)"""
+ return _xrc.XmlNode_SetProperties(*args, **kwargs)
+
+
+class XmlNodePtr(XmlNode):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlNode
+_xrc.XmlNode_swigregister(XmlNodePtr)
+
+def XmlNodeEasy(*args, **kwargs):
+ """XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode"""
+ val = _xrc.new_XmlNodeEasy(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+class XmlDocument(_core.Object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String filename, String encoding=UTF8String) -> XmlDocument"""
+ newobj = _xrc.new_XmlDocument(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_xrc.delete_XmlDocument):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def Load(*args, **kwargs):
+ """Load(self, String filename, String encoding=UTF8String) -> bool"""
+ return _xrc.XmlDocument_Load(*args, **kwargs)
+
+ def LoadFromStream(*args, **kwargs):
+ """LoadFromStream(self, InputStream stream, String encoding=UTF8String) -> bool"""
+ return _xrc.XmlDocument_LoadFromStream(*args, **kwargs)
+
+ def Save(*args, **kwargs):
+ """Save(self, String filename) -> bool"""
+ return _xrc.XmlDocument_Save(*args, **kwargs)
+
+ def SaveToStream(*args, **kwargs):
+ """SaveToStream(self, OutputStream stream) -> bool"""
+ return _xrc.XmlDocument_SaveToStream(*args, **kwargs)
+
+ def IsOk(*args, **kwargs):
+ """IsOk(self) -> bool"""
+ return _xrc.XmlDocument_IsOk(*args, **kwargs)
+
+ def GetRoot(*args, **kwargs):
+ """GetRoot(self) -> XmlNode"""
+ return _xrc.XmlDocument_GetRoot(*args, **kwargs)
+
+ def GetVersion(*args, **kwargs):
+ """GetVersion(self) -> String"""
+ return _xrc.XmlDocument_GetVersion(*args, **kwargs)
+
+ def GetFileEncoding(*args, **kwargs):
+ """GetFileEncoding(self) -> String"""
+ return _xrc.XmlDocument_GetFileEncoding(*args, **kwargs)
+
+ def SetRoot(*args, **kwargs):
+ """SetRoot(self, XmlNode node)"""
+ return _xrc.XmlDocument_SetRoot(*args, **kwargs)
+
+ def SetVersion(*args, **kwargs):
+ """SetVersion(self, String version)"""
+ return _xrc.XmlDocument_SetVersion(*args, **kwargs)
+
+ def SetFileEncoding(*args, **kwargs):
+ """SetFileEncoding(self, String encoding)"""
+ return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
+
+
+class XmlDocumentPtr(XmlDocument):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlDocument
+_xrc.XmlDocument_swigregister(XmlDocumentPtr)
+
+def XmlDocumentFromStream(*args, **kwargs):
+ """XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument"""
+ val = _xrc.new_XmlDocumentFromStream(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+def EmptyXmlDocument(*args, **kwargs):
+ """EmptyXmlDocument() -> XmlDocument"""
+ val = _xrc.new_EmptyXmlDocument(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+#---------------------------------------------------------------------------
+
+class XmlResourceHandler(_core.Object):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> XmlResourceHandler"""
+ newobj = _xrc.new_XmlResourceHandler(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, XmlResourceHandler)
+
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(self, PyObject self, PyObject _class)"""
+ return _xrc.XmlResourceHandler__setCallbackInfo(*args, **kwargs)
+
+ def CreateResource(*args, **kwargs):
+ """CreateResource(self, XmlNode node, Object parent, Object instance) -> Object"""
+ return _xrc.XmlResourceHandler_CreateResource(*args, **kwargs)
+
+ def SetParentResource(*args, **kwargs):
+ """SetParentResource(self, XmlResource res)"""
+ return _xrc.XmlResourceHandler_SetParentResource(*args, **kwargs)
+
+ def GetResource(*args, **kwargs):
+ """GetResource(self) -> XmlResource"""
+ return _xrc.XmlResourceHandler_GetResource(*args, **kwargs)
+
+ def GetNode(*args, **kwargs):
+ """GetNode(self) -> XmlNode"""
+ return _xrc.XmlResourceHandler_GetNode(*args, **kwargs)
+
+ def GetClass(*args, **kwargs):
+ """GetClass(self) -> String"""
+ return _xrc.XmlResourceHandler_GetClass(*args, **kwargs)
+
+ def GetParent(*args, **kwargs):
+ """GetParent(self) -> Object"""
+ return _xrc.XmlResourceHandler_GetParent(*args, **kwargs)
+
+ def GetInstance(*args, **kwargs):
+ """GetInstance(self) -> Object"""
+ return _xrc.XmlResourceHandler_GetInstance(*args, **kwargs)
+
+ def GetParentAsWindow(*args, **kwargs):
+ """GetParentAsWindow(self) -> Window"""
+ return _xrc.XmlResourceHandler_GetParentAsWindow(*args, **kwargs)
+
+ def GetInstanceAsWindow(*args, **kwargs):
+ """GetInstanceAsWindow(self) -> Window"""
+ return _xrc.XmlResourceHandler_GetInstanceAsWindow(*args, **kwargs)
+
+ def IsOfClass(*args, **kwargs):
+ """IsOfClass(self, XmlNode node, String classname) -> bool"""
+ return _xrc.XmlResourceHandler_IsOfClass(*args, **kwargs)
+
+ def GetNodeContent(*args, **kwargs):
+ """GetNodeContent(self, XmlNode node) -> String"""
+ return _xrc.XmlResourceHandler_GetNodeContent(*args, **kwargs)
+
+ def HasParam(*args, **kwargs):
+ """HasParam(self, String param) -> bool"""
+ return _xrc.XmlResourceHandler_HasParam(*args, **kwargs)
+
+ def GetParamNode(*args, **kwargs):
+ """GetParamNode(self, String param) -> XmlNode"""
+ return _xrc.XmlResourceHandler_GetParamNode(*args, **kwargs)
+
+ def GetParamValue(*args, **kwargs):
+ """GetParamValue(self, String param) -> String"""
+ return _xrc.XmlResourceHandler_GetParamValue(*args, **kwargs)
+
+ def AddStyle(*args, **kwargs):
+ """AddStyle(self, String name, int value)"""
+ return _xrc.XmlResourceHandler_AddStyle(*args, **kwargs)
+
+ def AddWindowStyles(*args, **kwargs):
+ """AddWindowStyles(self)"""
+ return _xrc.XmlResourceHandler_AddWindowStyles(*args, **kwargs)
+
+ def GetStyle(*args, **kwargs):
+ """GetStyle(self, String param=StyleString, int defaults=0) -> int"""
+ return _xrc.XmlResourceHandler_GetStyle(*args, **kwargs)
+
+ def GetText(*args, **kwargs):
+ """GetText(self, String param, bool translate=True) -> String"""
+ return _xrc.XmlResourceHandler_GetText(*args, **kwargs)
+
+ def GetID(*args, **kwargs):
+ """GetID(self) -> int"""
+ return _xrc.XmlResourceHandler_GetID(*args, **kwargs)
+
+ def GetName(*args, **kwargs):
+ """GetName(self) -> String"""
+ return _xrc.XmlResourceHandler_GetName(*args, **kwargs)
+
+ def GetBool(*args, **kwargs):
+ """GetBool(self, String param, bool defaultv=False) -> bool"""
+ return _xrc.XmlResourceHandler_GetBool(*args, **kwargs)
+
+ def GetLong(*args, **kwargs):
+ """GetLong(self, String param, long defaultv=0) -> long"""
+ return _xrc.XmlResourceHandler_GetLong(*args, **kwargs)
+
+ def GetColour(*args, **kwargs):
+ """GetColour(self, String param) -> Colour"""
+ return _xrc.XmlResourceHandler_GetColour(*args, **kwargs)
+
+ def GetSize(*args, **kwargs):
+ """GetSize(self, String param=SizeString) -> Size"""
+ return _xrc.XmlResourceHandler_GetSize(*args, **kwargs)
+
+ def GetPosition(*args, **kwargs):
+ """GetPosition(self, String param=PosString) -> Point"""
+ return _xrc.XmlResourceHandler_GetPosition(*args, **kwargs)
+
+ def GetDimension(*args, **kwargs):
+ """GetDimension(self, String param, int defaultv=0) -> int"""
+ return _xrc.XmlResourceHandler_GetDimension(*args, **kwargs)
+
+ def GetBitmap(*args, **kwargs):
+ """
+ GetBitmap(self, String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER,
+ Size size=DefaultSize) -> Bitmap
+ """
+ return _xrc.XmlResourceHandler_GetBitmap(*args, **kwargs)
+
+ def GetIcon(*args, **kwargs):
+ """
+ GetIcon(self, String param=IconString, wxArtClient defaultArtClient=wxART_OTHER,
+ Size size=DefaultSize) -> Icon
+ """
+ return _xrc.XmlResourceHandler_GetIcon(*args, **kwargs)
+
+ def GetFont(*args, **kwargs):
+ """GetFont(self, String param=FontString) -> Font"""
+ return _xrc.XmlResourceHandler_GetFont(*args, **kwargs)
+
+ def SetupWindow(*args, **kwargs):
+ """SetupWindow(self, Window wnd)"""
+ return _xrc.XmlResourceHandler_SetupWindow(*args, **kwargs)
+
+ def CreateChildren(*args, **kwargs):
+ """CreateChildren(self, Object parent, bool this_hnd_only=False)"""
+ return _xrc.XmlResourceHandler_CreateChildren(*args, **kwargs)
+
+ def CreateChildrenPrivately(*args, **kwargs):
+ """CreateChildrenPrivately(self, Object parent, XmlNode rootnode=None)"""
+ return _xrc.XmlResourceHandler_CreateChildrenPrivately(*args, **kwargs)
+
+ def CreateResFromNode(*args, **kwargs):
+ """CreateResFromNode(self, XmlNode node, Object parent, Object instance=None) -> Object"""
+ return _xrc.XmlResourceHandler_CreateResFromNode(*args, **kwargs)
+
+ def GetCurFileSystem(*args, **kwargs):
+ """GetCurFileSystem(self) -> FileSystem"""
+ return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
+
+
+class XmlResourceHandlerPtr(XmlResourceHandler):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlResourceHandler
+_xrc.XmlResourceHandler_swigregister(XmlResourceHandlerPtr)
+
+#----------------------------------------------------------------------------
+# The global was removed in favor of static accessor functions. This is for
+# backwards compatibility:
+
+TheXmlResource = XmlResource_Get()
+
+
+#----------------------------------------------------------------------------
+# Create a factory for handling the subclass property of the object tag.
+
+
+def _my_import(name):
+ mod = __import__(name)
+ components = name.split('.')
+ for comp in components[1:]:
+ mod = getattr(mod, comp)
+ return mod
+
+
+class XmlSubclassFactory_Python(XmlSubclassFactory):
+ def __init__(self):
+ XmlSubclassFactory.__init__(self)
+
+ def Create(self, className):
+ assert className.find('.') != -1, "Module name must be specified!"
+ mname = className[:className.rfind('.')]
+ cname = className[className.rfind('.')+1:]
+ module = _my_import(mname)
+ klass = getattr(module, cname)
+ inst = klass()
+ return inst
+
+
+XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
+
+#----------------------------------------------------------------------------
+
+
--- /dev/null
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 1.3.22
+ *
+ * This file is not intended to be easily readable and contains a number of
+ * coding conventions designed to improve portability and efficiency. Do not make
+ * changes to this file unless you know what you are doing--modify the SWIG
+ * interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+#define SWIGPYTHON
+#define SWIG_NOINCLUDE
+
+#ifdef __cplusplus
+template<class T> class SwigValueWrapper {
+ T *tt;
+public:
+ SwigValueWrapper() : tt(0) { }
+ SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
+ SwigValueWrapper(const T& t) : tt(new T(t)) { }
+ ~SwigValueWrapper() { delete tt; }
+ SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
+ operator T&() const { return *tt; }
+ T *operator&() { return tt; }
+private:
+ SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
+};
+#endif
+
+
+#include "Python.h"
+
+/*************************************************************** -*- c -*-
+ * python/precommon.swg
+ *
+ * Rename all exported symbols from common.swg, to avoid symbol
+ * clashes if multiple interpreters are included
+ *
+ ************************************************************************/
+
+#define SWIG_TypeRegister SWIG_Python_TypeRegister
+#define SWIG_TypeCheck SWIG_Python_TypeCheck
+#define SWIG_TypeCast SWIG_Python_TypeCast
+#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
+#define SWIG_TypeName SWIG_Python_TypeName
+#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
+#define SWIG_TypeQuery SWIG_Python_TypeQuery
+#define SWIG_TypeClientData SWIG_Python_TypeClientData
+#define SWIG_PackData SWIG_Python_PackData
+#define SWIG_UnpackData SWIG_Python_UnpackData
+
+
+/***********************************************************************
+ * common.swg for wxPython
+ *
+ * Include only the function prototypes and such from SWIG's common.swg,
+ * but not the runtime functions themselves. This helps keep the
+ * wrapper files clean of unnecessary stuff that is in the libpy.c file
+ * anyway.
+ *
+ ************************************************************************/
+
+#include <string.h>
+
+#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
+# if defined(_MSC_VER) || defined(__GNUC__)
+# if defined(STATIC_LINKED)
+# define SWIGEXPORT(a) a
+# define SWIGIMPORT(a) extern a
+# else
+# define SWIGEXPORT(a) __declspec(dllexport) a
+# define SWIGIMPORT(a) extern a
+# endif
+# else
+# if defined(__BORLANDC__)
+# define SWIGEXPORT(a) a _export
+# define SWIGIMPORT(a) a _export
+# else
+# define SWIGEXPORT(a) a
+# define SWIGIMPORT(a) a
+# endif
+# endif
+#else
+# define SWIGEXPORT(a) a
+# define SWIGIMPORT(a) a
+#endif
+
+#ifdef SWIG_GLOBAL
+# define SWIGRUNTIME(a) SWIGEXPORT(a)
+#else
+# define SWIGRUNTIME(a) static a
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef void *(*swig_converter_func)(void *);
+typedef struct swig_type_info *(*swig_dycast_func)(void **);
+
+typedef struct swig_type_info {
+ const char *name;
+ swig_converter_func converter;
+ const char *str;
+ void *clientdata;
+ swig_dycast_func dcast;
+ struct swig_type_info *next;
+ struct swig_type_info *prev;
+} swig_type_info;
+
+
+SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
+SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
+SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
+SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
+SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
+SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
+SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
+SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
+SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
+SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+/***********************************************************************
+ * pyrun.swg for wxPython
+ *
+ * Include only the function prototypes and such from SWIG's pyrun.swg,
+ * but not the runtime functions themselves. This helps keep the
+ * wrapper files clean of unnecessary stuff that is in the libpy.c file
+ * anyway.
+ *
+ ************************************************************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define SWIG_PY_INT 1
+#define SWIG_PY_FLOAT 2
+#define SWIG_PY_STRING 3
+#define SWIG_PY_POINTER 4
+#define SWIG_PY_BINARY 5
+
+/* Flags for pointer conversion */
+
+#define SWIG_POINTER_EXCEPTION 0x1
+#define SWIG_POINTER_DISOWN 0x2
+
+/* Exception handling in wrappers */
+#define SWIG_fail goto fail
+
+/* Constant information structure */
+typedef struct swig_const_info {
+ int type;
+ char *name;
+ long lvalue;
+ double dvalue;
+ void *pvalue;
+ swig_type_info **ptype;
+} swig_const_info;
+
+/* Common SWIG API */
+#define SWIG_ConvertPtr(obj, pp, type, flags) \
+ SWIG_Python_ConvertPtr(obj, pp, type, flags)
+#define SWIG_NewPointerObj(p, type, flags) \
+ SWIG_Python_NewPointerObj(p, type, flags)
+#define SWIG_MustGetPtr(p, type, argnum, flags) \
+ SWIG_Python_MustGetPtr(p, type, argnum, flags)
+
+/* Python-specific SWIG API */
+#define SWIG_newvarlink() \
+ SWIG_Python_newvarlink()
+#define SWIG_addvarlink(p, name, get_attr, set_attr) \
+ SWIG_Python_addvarlink(p, name, get_attr, set_attr)
+#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
+ SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
+#define SWIG_NewPackedObj(ptr, sz, type) \
+ SWIG_Python_NewPackedObj(ptr, sz, type)
+#define SWIG_InstallConstants(d, constants) \
+ SWIG_Python_InstallConstants(d, constants)
+
+typedef double (*py_objasdbl_conv)(PyObject *obj);
+
+SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
+SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
+SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
+SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
+SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
+SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
+SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
+SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
+
+
+/* Contract support */
+
+#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
+
+#ifdef __cplusplus
+}
+#endif
+
+
+
+/* -------- TYPES TABLE (BEGIN) -------- */
+
+#define SWIGTYPE_p_wxFrame swig_types[0]
+#define SWIGTYPE_p_wxIcon swig_types[1]
+#define SWIGTYPE_p_wxObject swig_types[2]
+#define SWIGTYPE_p_wxDialog swig_types[3]
+#define SWIGTYPE_p_wxColour swig_types[4]
+#define SWIGTYPE_p_wxWindow swig_types[5]
+#define SWIGTYPE_p_wxArtClient swig_types[6]
+#define SWIGTYPE_p_wxBitmap swig_types[7]
+#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[8]
+#define SWIGTYPE_p_char swig_types[9]
+#define SWIGTYPE_p_wxPoint swig_types[10]
+#define SWIGTYPE_p_wxXmlNode swig_types[11]
+#define SWIGTYPE_p_wxInputStream swig_types[12]
+#define SWIGTYPE_p_wxOutputStream swig_types[13]
+#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[14]
+#define SWIGTYPE_p_wxFileSystem swig_types[15]
+#define SWIGTYPE_p_wxXmlProperty swig_types[16]
+#define SWIGTYPE_p_wxFont swig_types[17]
+#define SWIGTYPE_p_wxXmlResource swig_types[18]
+#define SWIGTYPE_p_wxXmlDocument swig_types[19]
+#define SWIGTYPE_p_wxPanel swig_types[20]
+#define SWIGTYPE_p_wxSize swig_types[21]
+static swig_type_info *swig_types[23];
+
+/* -------- TYPES TABLE (END) -------- */
+
+
+/*-----------------------------------------------
+ @(target):= _xrc.so
+ ------------------------------------------------*/
+#define SWIG_init init_xrc
+
+#define SWIG_name "_xrc"
+
+/* Auxiliar swig macros that appear in the header */
+
+#define SWIG_OLDOBJ 1
+#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
+#define SWIG_PYSTR SWIG_NEWOBJ + 1
+
+#ifdef __cplusplus
+#define SWIGSTATICINLINE(a) static inline a
+#define SWIGSTATIC(a) static a
+#define swig_new_array(size,Type) (new Type[(size)])
+#define swig_delete(cptr) delete cptr
+#define swig_delete_array(cptr) delete[] cptr
+#define swig_const_cast(a,Type) const_cast<Type >(a)
+#define swig_static_cast(a,Type) static_cast<Type >(a)
+#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
+#define swig_new_copy(ptr,Type) (new Type(*ptr))
+#define swig_numeric_cast(a,Type) static_cast<Type >(a)
+
+#else /* C case */
+
+#define SWIGSTATICINLINE(a) static a
+#define SWIGSTATIC(a) static a
+#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
+#define swig_delete(cptr) free((char*)cptr)
+#define swig_delete_array(cptr) free((char*)cptr)
+#define swig_const_cast(a,Type) (Type)(a)
+#define swig_static_cast(a,Type) (Type)(a)
+#define swig_reinterpret_cast(a,Type) (Type)(a)
+#define swig_numeric_cast(a,Type) (Type)(a)
+#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
+
+#endif /* __cplusplus */
+
+
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_signed_SS_char PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_unsigned_SS_char PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_short PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_unsigned_SS_short PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_int PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_long PyInt_FromLong
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_float PyFloat_FromDouble
+/*@@*/
+/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
+#define SWIG_From_double PyFloat_FromDouble
+/*@@*/
+
+
+#include "wx/wxPython/wxPython.h"
+#include "wx/wxPython/pyclasses.h"
+#include "wx/wxPython/pyistream.h"
+
+#include <wx/xml/xml.h>
+#include <wx/xrc/xmlres.h>
+
+ static const wxString wxPyEmptyString(wxEmptyString);
+ static const wxString wxPyUTF8String(wxT("UTF-8"));
+ static const wxString wxPyStyleString(wxT("style"));
+ static const wxString wxPySizeString(wxT("size"));
+ static const wxString wxPyPosString(wxT("pos"));
+ static const wxString wxPyBitmapString(wxT("bitmap"));
+ static const wxString wxPyIconString(wxT("icon"));
+ static const wxString wxPyFontString(wxT("font"));
+
+#include <limits.h>
+
+
+SWIGSTATICINLINE(int)
+ SWIG_CheckLongInRange(long value, long min_value, long max_value,
+ const char *errmsg)
+{
+ if (value < min_value) {
+ if (errmsg) {
+ PyErr_Format(PyExc_OverflowError,
+ "value %ld is less than '%s' minimum %ld",
+ value, errmsg, min_value);
+ }
+ return 0;
+ } else if (value > max_value) {
+ if (errmsg) {
+ PyErr_Format(PyExc_OverflowError,
+ "value %ld is greater than '%s' maximum %ld",
+ value, errmsg, max_value);
+ }
+ return 0;
+ }
+ return 1;
+}
+
+
+// See my_fragments.i
+SWIGSTATICINLINE(int)
+SWIG_AsVal_long(PyObject* obj, long* val)
+{
+ if (PyNumber_Check(obj)) {
+ if (val) *val = PyInt_AsLong(obj);
+ return 1;
+ }
+ else {
+ PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
+ obj->ob_type->tp_name);
+ PyErr_SetObject(PyExc_TypeError, errmsg);
+ Py_DECREF(errmsg);
+ }
+ return 0;
+}
+
+
+#if INT_MAX != LONG_MAX
+SWIGSTATICINLINE(int)
+ SWIG_AsVal_int(PyObject *obj, int *val)
+{
+ const char* errmsg = val ? "int" : 0;
+ long v;
+ if (SWIG_AsVal_long(obj, &v)) {
+ if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
+ if (val) *val = swig_numeric_cast(v, int);
+ return 1;
+ } else {
+ return 0;
+ }
+ } else {
+ PyErr_Clear();
+ }
+ if (val) {
+ PyErr_SetString(PyExc_TypeError, "an int is expected");
+ }
+ return 0;
+}
+#else
+SWIGSTATICINLINE(int)
+ SWIG_AsVal_int(PyObject *obj, int *val)
+{
+ return SWIG_AsVal_long(obj,(long*)val);
+}
+#endif
+
+
+SWIGSTATICINLINE(int)
+SWIG_As_int(PyObject* obj)
+{
+ int v;
+ if (!SWIG_AsVal_int(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(int));
+ }
+ return v;
+}
+
+
+SWIGSTATICINLINE(int)
+SWIG_Check_int(PyObject* obj)
+{
+ return SWIG_AsVal_int(obj, (int*)0);
+}
+
+bool wxXmlResource_LoadFromString(wxXmlResource *self,wxString const &data){
+ static int s_memFileIdx = 0;
+
+ // Check for memory FS. If not present, load the handler:
+ wxMemoryFSHandler::AddFile(wxT("XRC_resource/dummy_file"),
+ wxT("dummy data"));
+ wxFileSystem fsys;
+ wxFSFile *f = fsys.OpenFile(wxT("memory:XRC_resource/dummy_file"));
+ wxMemoryFSHandler::RemoveFile(wxT("XRC_resource/dummy_file"));
+ if (f)
+ delete f;
+ else
+ wxFileSystem::AddHandler(new wxMemoryFSHandler);
+
+ // Now put the resource data into the memory FS
+ wxString filename(wxT("XRC_resource/data_string_"));
+ filename << s_memFileIdx;
+ s_memFileIdx += 1;
+ wxMemoryFSHandler::AddFile(filename, data);
+
+ // Load the "file" into the resource object
+ bool retval = self->Load(wxT("memory:") + filename );
+
+ return retval;
+ }
+
+class wxPyXmlSubclassFactory : public wxXmlSubclassFactory
+{
+public:
+ wxPyXmlSubclassFactory() {}
+ DEC_PYCALLBACK_OBJECT_STRING_pure(Create);
+ PYPRIVATE;
+};
+
+IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory, wxXmlSubclassFactory, Create);
+
+ // C++ version of Python aware wxXmlResourceHandler, for the pure virtual
+ // callbacks, as well as to make some protected things public so they can
+ // be wrapped.
+class wxPyXmlResourceHandler : public wxXmlResourceHandler {
+public:
+ wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
+ //~wxPyXmlResourceHandler();
+
+ // Base class virtuals
+
+ DEC_PYCALLBACK_OBJECT__pure(DoCreateResource);
+ DEC_PYCALLBACK_BOOL_NODE_pure(CanHandle);
+
+
+ // accessors for protected members
+
+ wxXmlResource* GetResource() { return m_resource; }
+ wxXmlNode* GetNode() { return m_node; }
+ wxString GetClass() { return m_class; }
+ wxObject* GetParent() { return m_parent; }
+ wxObject* GetInstance() { return m_instance; }
+ wxWindow* GetParentAsWindow() { return m_parentAsWindow; }
+ wxWindow* GetInstanceAsWindow() { return m_instanceAsWindow; }
+
+
+ // turn some protected methods into public via delegation
+
+ bool IsOfClass(wxXmlNode *node, const wxString& classname)
+ { return wxXmlResourceHandler::IsOfClass(node, classname); }
+
+ wxString GetNodeContent(wxXmlNode *node)
+ { return wxXmlResourceHandler::GetNodeContent(node); }
+
+ bool HasParam(const wxString& param)
+ { return wxXmlResourceHandler::HasParam(param); }
+
+ wxXmlNode *GetParamNode(const wxString& param)
+ { return wxXmlResourceHandler::GetParamNode(param); }
+
+ wxString GetParamValue(const wxString& param)
+ { return wxXmlResourceHandler::GetParamValue(param); }
+
+ void AddStyle(const wxString& name, int value)
+ { wxXmlResourceHandler::AddStyle(name, value); }
+
+ void AddWindowStyles()
+ { wxXmlResourceHandler::AddWindowStyles(); }
+
+ int GetStyle(const wxString& param = wxT("style"), int defaults = 0)
+ { return wxXmlResourceHandler::GetStyle(param, defaults); }
+
+ wxString GetText(const wxString& param, bool translate = true)
+ { return wxXmlResourceHandler::GetText(param, translate); }
+
+ int GetID()
+ { return wxXmlResourceHandler::GetID(); }
+
+ wxString GetName()
+ { return wxXmlResourceHandler::GetName(); }
+
+ bool GetBool(const wxString& param, bool defaultv = false)
+ { return wxXmlResourceHandler::GetBool(param, defaultv); }
+
+ long GetLong( const wxString& param, long defaultv = 0 )
+ { return wxXmlResourceHandler::GetLong(param, defaultv); }
+
+ wxColour GetColour(const wxString& param)
+ { return wxXmlResourceHandler::GetColour(param); }
+
+ wxSize GetSize(const wxString& param = wxT("size"))
+ { return wxXmlResourceHandler::GetSize(param); }
+
+ wxPoint GetPosition(const wxString& param = wxT("pos"))
+ { return wxXmlResourceHandler::GetPosition(param); }
+
+ wxCoord GetDimension(const wxString& param, wxCoord defaultv = 0)
+ { return wxXmlResourceHandler::GetDimension(param, defaultv); }
+
+ wxBitmap GetBitmap(const wxString& param = wxT("bitmap"),
+ const wxArtClient& defaultArtClient = wxART_OTHER,
+ wxSize size = wxDefaultSize)
+ { return wxXmlResourceHandler::GetBitmap(param, defaultArtClient, size); }
+
+ wxIcon GetIcon(const wxString& param = wxT("icon"),
+ const wxArtClient& defaultArtClient = wxART_OTHER,
+ wxSize size = wxDefaultSize)
+ { return wxXmlResourceHandler::GetIcon(param, defaultArtClient, size); }
+
+ wxFont GetFont(const wxString& param = wxT("font"))
+ { return wxXmlResourceHandler::GetFont(param); }
+
+ void SetupWindow(wxWindow *wnd)
+ { wxXmlResourceHandler::SetupWindow(wnd); }
+
+ void CreateChildren(wxObject *parent, bool this_hnd_only = false)
+ { wxXmlResourceHandler::CreateChildren(parent, this_hnd_only); }
+
+ void CreateChildrenPrivately(wxObject *parent, wxXmlNode *rootnode = NULL)
+ { wxXmlResourceHandler::CreateChildrenPrivately(parent, rootnode); }
+
+ wxObject *CreateResFromNode(wxXmlNode *node,
+ wxObject *parent, wxObject *instance = NULL)
+ { return wxXmlResourceHandler::CreateResFromNode(node, parent, instance); }
+
+ wxFileSystem& GetCurFileSystem()
+ { return wxXmlResourceHandler::GetCurFileSystem(); }
+
+
+ PYPRIVATE;
+};
+
+IMP_PYCALLBACK_OBJECT__pure(wxPyXmlResourceHandler, wxXmlResourceHandler, DoCreateResource);
+IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler, wxXmlResourceHandler, CanHandle);
+
+
+
+SWIGSTATICINLINE(int)
+ SWIG_AsVal_bool(PyObject *obj, bool *val)
+{
+ /* if (val) *val = PyObject_IsTrue(obj); return 1; */
+ if (obj == Py_True) {
+ if (val) *val = true;
+ return 1;
+ }
+ if (obj == Py_False) {
+ if (val) *val = false;
+ return 1;
+ }
+ int res = 0;
+ if (SWIG_AsVal_int(obj, &res)) {
+ if (val) *val = (bool)res;
+ return 1;
+ }
+ if (val) {
+ PyErr_SetString(PyExc_TypeError, "a bool is expected");
+ }
+ return 0;
+}
+
+
+SWIGSTATICINLINE(bool)
+SWIG_As_bool(PyObject* obj)
+{
+ bool v;
+ if (!SWIG_AsVal_bool(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(bool));
+ }
+ return v;
+}
+
+
+SWIGSTATICINLINE(int)
+SWIG_Check_bool(PyObject* obj)
+{
+ return SWIG_AsVal_bool(obj, (bool*)0);
+}
+
+
+SWIGSTATICINLINE(long)
+SWIG_As_long(PyObject* obj)
+{
+ long v;
+ if (!SWIG_AsVal_long(obj, &v)) {
+ /*
+ this is needed to make valgrind/purify happier. the other
+ solution is throw an exception, but since this code should work
+ with plain C ....
+ */
+ memset((void*)&v, 0, sizeof(long));
+ }
+ return v;
+}
+
+
+SWIGSTATICINLINE(int)
+SWIG_Check_long(PyObject* obj)
+{
+ return SWIG_AsVal_long(obj, (long*)0);
+}
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+static int _wrap_UTF8String_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable UTF8String is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_UTF8String_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyUTF8String)->c_str(), (&wxPyUTF8String)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyUTF8String)->c_str(), (&wxPyUTF8String)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_StyleString_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable StyleString is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_StyleString_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyStyleString)->c_str(), (&wxPyStyleString)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyStyleString)->c_str(), (&wxPyStyleString)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_SizeString_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable SizeString is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_SizeString_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPySizeString)->c_str(), (&wxPySizeString)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPySizeString)->c_str(), (&wxPySizeString)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_PosString_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable PosString is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_PosString_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyPosString)->c_str(), (&wxPyPosString)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyPosString)->c_str(), (&wxPyPosString)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_BitmapString_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable BitmapString is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_BitmapString_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyBitmapString)->c_str(), (&wxPyBitmapString)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyBitmapString)->c_str(), (&wxPyBitmapString)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_IconString_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable IconString is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_IconString_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyIconString)->c_str(), (&wxPyIconString)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyIconString)->c_str(), (&wxPyIconString)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static int _wrap_FontString_set(PyObject *) {
+ PyErr_SetString(PyExc_TypeError,"Variable FontString is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_FontString_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyFontString)->c_str(), (&wxPyFontString)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyFontString)->c_str(), (&wxPyFontString)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
+static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxString *arg1 = 0 ;
+ int arg2 = (int) wxXRC_USE_LOCALE ;
+ wxXmlResource *result;
+ bool temp1 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "filemask",(char *) "flags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_XmlResource",kwnames,&obj0,&obj1)) goto fail;
+ {
+ arg1 = wxString_in_helper(obj0);
+ if (arg1 == NULL) SWIG_fail;
+ temp1 = true;
+ }
+ if (obj1) {
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlResource *)new wxXmlResource((wxString const &)*arg1,arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlResource, 1);
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ int arg1 = (int) wxXRC_USE_LOCALE ;
+ wxXmlResource *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "flags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_EmptyXmlResource",kwnames,&obj0)) goto fail;
+ if (obj0) {
+ arg1 = (int)SWIG_As_int(obj0);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlResource *)new wxXmlResource(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlResource, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_XmlResource(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_XmlResource",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_Load(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "filemask", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_Load",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Load((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadFromString(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "data", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_LoadFromString",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)wxXmlResource_LoadFromString(arg1,(wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_InitAllHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_InitAllHandlers",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->InitAllHandlers();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxPyXmlResourceHandler *arg2 = (wxPyXmlResourceHandler *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "handler", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_AddHandler",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddHandler(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxPyXmlResourceHandler *arg2 = (wxPyXmlResourceHandler *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "handler", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_InsertHandler",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->InsertHandler(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_ClearHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_ClearHandlers",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->ClearHandlers();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_AddSubclassFactory(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlSubclassFactory *arg1 = (wxPyXmlSubclassFactory *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "factory", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_AddSubclassFactory",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlSubclassFactory,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxXmlResource::AddSubclassFactory(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadMenu(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ wxMenu *result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_LoadMenu",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxMenu *)(arg1)->LoadMenu((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ wxMenuBar *result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_LoadMenuBar",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxMenuBar *)(arg1)->LoadMenuBar((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadMenuBarOnFrame(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ wxString *arg3 = 0 ;
+ wxMenuBar *result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResource_LoadMenuBarOnFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxMenuBar *)(arg1)->LoadMenuBar(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ wxString *arg3 = 0 ;
+ wxToolBar *result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResource_LoadToolBar",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxToolBar *)(arg1)->LoadToolBar(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadDialog(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ wxString *arg3 = 0 ;
+ wxDialog *result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResource_LoadDialog",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxDialog *)(arg1)->LoadDialog(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadOnDialog(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxDialog *arg2 = (wxDialog *) 0 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "dlg",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:XmlResource_LoadOnDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDialog,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->LoadDialog(arg2,arg3,(wxString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadPanel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ wxString *arg3 = 0 ;
+ wxPanel *result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResource_LoadPanel",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxPanel *)(arg1)->LoadPanel(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadOnPanel(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxPanel *arg2 = (wxPanel *) 0 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "panel",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:XmlResource_LoadOnPanel",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPanel,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->LoadPanel(arg2,arg3,(wxString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadFrame(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ wxString *arg3 = 0 ;
+ wxFrame *result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResource_LoadFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxFrame *)(arg1)->LoadFrame(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadOnFrame(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxFrame *arg2 = (wxFrame *) 0 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxString *arg4 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "frame",(char *) "parent",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:XmlResource_LoadOnFrame",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->LoadFrame(arg2,arg3,(wxString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadObject(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ wxString *arg3 = 0 ;
+ wxString *arg4 = 0 ;
+ wxObject *result;
+ bool temp3 = false ;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "name",(char *) "classname", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:XmlResource_LoadObject",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxObject *)(arg1)->LoadObject(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadOnObject(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxObject *arg2 = (wxObject *) 0 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxString *arg4 = 0 ;
+ wxString *arg5 = 0 ;
+ bool result;
+ bool temp4 = false ;
+ bool temp5 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "instance",(char *) "parent",(char *) "name",(char *) "classname", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:XmlResource_LoadOnObject",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ {
+ arg5 = wxString_in_helper(obj4);
+ if (arg5 == NULL) SWIG_fail;
+ temp5 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->LoadObject(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ {
+ if (temp5)
+ delete arg5;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ {
+ if (temp5)
+ delete arg5;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ wxBitmap result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_LoadBitmap",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->LoadBitmap((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxBitmap * resultptr;
+ resultptr = new wxBitmap((wxBitmap &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ wxIcon result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_LoadIcon",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->LoadIcon((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxIcon * resultptr;
+ resultptr = new wxIcon((wxIcon &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_AttachUnknownControl(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxString *arg2 = 0 ;
+ wxWindow *arg3 = (wxWindow *) 0 ;
+ wxWindow *arg4 = (wxWindow *) NULL ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name",(char *) "control",(char *) "parent", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:XmlResource_AttachUnknownControl",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj3) {
+ if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->AttachUnknownControl((wxString const &)*arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxString *arg1 = 0 ;
+ int result;
+ bool temp1 = false ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "str_id", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_GetXRCID",kwnames,&obj0)) goto fail;
+ {
+ arg1 = wxString_in_helper(obj0);
+ if (arg1 == NULL) SWIG_fail;
+ temp1 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)wxXmlResource::GetXRCID((wxString const &)*arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp1)
+ delete arg1;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ long result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_GetVersion",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (long)((wxXmlResource const *)arg1)->GetVersion();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_long((long)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ int arg2 ;
+ int arg3 ;
+ int arg4 ;
+ int arg5 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "major",(char *) "minor",(char *) "release",(char *) "revision", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:XmlResource_CompareVersion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg4 = (int)SWIG_As_int(obj3);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg5 = (int)SWIG_As_int(obj4);
+ if (PyErr_Occurred()) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxXmlResource const *)arg1)->CompareVersion(arg2,arg3,arg4,arg5);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_Get(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":XmlResource_Get",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlResource *)wxXmlResource::Get();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlResource, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_Set(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ wxXmlResource *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "res", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_Set",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlResource *)wxXmlResource::Set(arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlResource, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResource_GetFlags",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetFlags();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResource_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlResource *arg1 = (wxXmlResource *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "flags", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResource_SetFlags",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFlags(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * XmlResource_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxXmlResource, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_XmlSubclassFactory(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlSubclassFactory *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XmlSubclassFactory",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxPyXmlSubclassFactory *)new wxPyXmlSubclassFactory();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyXmlSubclassFactory, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlSubclassFactory__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlSubclassFactory *arg1 = (wxPyXmlSubclassFactory *) 0 ;
+ PyObject *arg2 = (PyObject *) 0 ;
+ PyObject *arg3 = (PyObject *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "self",(char *) "_class", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlSubclassFactory__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlSubclassFactory,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = obj1;
+ arg3 = obj2;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->_setCallbackInfo(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * XmlSubclassFactory_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlSubclassFactory, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_XmlProperty(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxString const &arg1_defvalue = wxPyEmptyString ;
+ wxString *arg1 = (wxString *) &arg1_defvalue ;
+ wxString const &arg2_defvalue = wxPyEmptyString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxXmlProperty *arg3 = (wxXmlProperty *) NULL ;
+ wxXmlProperty *result;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "name",(char *) "value",(char *) "next", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_XmlProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if (obj0) {
+ {
+ arg1 = wxString_in_helper(obj0);
+ if (arg1 == NULL) SWIG_fail;
+ temp1 = true;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ if (obj2) {
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlProperty *)new wxXmlProperty((wxString const &)*arg1,(wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlProperty, 1);
+ {
+ if (temp1)
+ delete arg1;
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp1)
+ delete arg1;
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlProperty_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlProperty *arg1 = (wxXmlProperty *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlProperty_GetName",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlProperty const *)arg1)->GetName();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlProperty_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlProperty *arg1 = (wxXmlProperty *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlProperty_GetValue",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlProperty const *)arg1)->GetValue();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlProperty_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlProperty *arg1 = (wxXmlProperty *) 0 ;
+ wxXmlProperty *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlProperty_GetNext",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlProperty *)((wxXmlProperty const *)arg1)->GetNext();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlProperty, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlProperty_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlProperty *arg1 = (wxXmlProperty *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlProperty_SetName",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetName((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlProperty_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlProperty *arg1 = (wxXmlProperty *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "value", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlProperty_SetValue",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetValue((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlProperty_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlProperty *arg1 = (wxXmlProperty *) 0 ;
+ wxXmlProperty *arg2 = (wxXmlProperty *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "next", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlProperty_SetNext",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetNext(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * XmlProperty_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxXmlProperty, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) NULL ;
+ int arg2 = (int) 0 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ wxXmlProperty *arg5 = (wxXmlProperty *) NULL ;
+ wxXmlNode *arg6 = (wxXmlNode *) NULL ;
+ wxXmlNode *result;
+ bool temp3 = false ;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ char *kwnames[] = {
+ (char *) "parent",(char *) "type",(char *) "name",(char *) "content",(char *) "props",(char *) "next", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_XmlNode",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
+ if (obj0) {
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ if (obj1) {
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
+ if (obj4) {
+ if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ if (obj5) {
+ if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)new wxXmlNode(arg1,(wxXmlNodeType )arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 1);
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_XmlNode",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ int arg1 ;
+ wxString *arg2 = 0 ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ wxXmlNode *result;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "type",(char *) "name",(char *) "content", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_XmlNodeEasy",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ arg1 = (int)SWIG_As_int(obj0);
+ if (PyErr_Occurred()) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)new wxXmlNode((wxXmlNodeType )arg1,(wxString const &)*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 1);
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "child", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_AddChild",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddChild(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_InsertChild(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg3 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "child",(char *) "before_node", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlNode_InsertChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->InsertChild(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "child", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->RemoveChild(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_AddProperty(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlProperty *arg2 = (wxXmlProperty *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "prop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_AddProperty",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddProperty(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_AddPropertyName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString *arg2 = 0 ;
+ wxString *arg3 = 0 ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name",(char *) "value", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlNode_AddPropertyName",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddProperty((wxString const &)*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_DeleteProperty(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_DeleteProperty",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->DeleteProperty((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetType",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)((wxXmlNode const *)arg1)->GetType();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetName",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlNode const *)arg1)->GetName();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetContent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetContent",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlNode const *)arg1)->GetContent();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetParent",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)((wxXmlNode const *)arg1)->GetParent();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetNext",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)((wxXmlNode const *)arg1)->GetNext();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetChildren",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)((wxXmlNode const *)arg1)->GetChildren();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetProperties(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlProperty *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlNode_GetProperties",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlProperty *)((wxXmlNode const *)arg1)->GetProperties();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlProperty, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_GetPropVal(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString *arg2 = 0 ;
+ wxString *arg3 = 0 ;
+ wxString result;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "propName",(char *) "defaultVal", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlNode_GetPropVal",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlNode const *)arg1)->GetPropVal((wxString const &)*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_HasProp(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "propName", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_HasProp",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxXmlNode const *)arg1)->HasProp((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ int arg2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "type", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetType",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetType((wxXmlNodeType )arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetName",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetName((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetContent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "con", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetContent",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetContent((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetParent",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetParent(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetNext(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "next", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetNext",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetNext(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "child", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetChildren",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetChildren(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlNode_SetProperties(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlNode *arg1 = (wxXmlNode *) 0 ;
+ wxXmlProperty *arg2 = (wxXmlProperty *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "prop", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlNode_SetProperties",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlProperty,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetProperties(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * XmlNode_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxXmlNode, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_XmlDocument(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxString *arg1 = 0 ;
+ wxString const &arg2_defvalue = wxPyUTF8String ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxXmlDocument *result;
+ bool temp1 = false ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "filename",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_XmlDocument",kwnames,&obj0,&obj1)) goto fail;
+ {
+ arg1 = wxString_in_helper(obj0);
+ if (arg1 == NULL) SWIG_fail;
+ temp1 = true;
+ }
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlDocument *)new wxXmlDocument((wxString const &)*arg1,(wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlDocument, 1);
+ {
+ if (temp1)
+ delete arg1;
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp1)
+ delete arg1;
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_XmlDocumentFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxInputStream *arg1 = 0 ;
+ wxString const &arg2_defvalue = wxPyUTF8String ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxXmlDocument *result;
+ wxPyInputStream *temp1 ;
+ bool created1 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "stream",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_XmlDocumentFromStream",kwnames,&obj0,&obj1)) goto fail;
+ {
+ if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
+ arg1 = temp1->m_wxis;
+ created1 = false;
+ } else {
+ PyErr_Clear(); // clear the failure of the wxPyConvert above
+ arg1 = wxPyCBInputStream_create(obj0, false);
+ if (arg1 == NULL) {
+ PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
+ SWIG_fail;
+ }
+ created1 = true;
+ }
+ }
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlDocument *)new wxXmlDocument(*arg1,(wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlDocument, 1);
+ {
+ if (created1)
+ delete arg1;
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (created1)
+ delete arg1;
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_new_EmptyXmlDocument(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EmptyXmlDocument",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlDocument *)new wxXmlDocument();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlDocument, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_delete_XmlDocument(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_XmlDocument",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_Load(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxString *arg2 = 0 ;
+ wxString const &arg3_defvalue = wxPyUTF8String ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ bool result;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "filename",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlDocument_Load",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Load((wxString const &)*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxInputStream *arg2 = 0 ;
+ wxString const &arg3_defvalue = wxPyUTF8String ;
+ wxString *arg3 = (wxString *) &arg3_defvalue ;
+ bool result;
+ wxPyInputStream *temp2 ;
+ bool created2 ;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "stream",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlDocument_LoadFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
+ arg2 = temp2->m_wxis;
+ created2 = false;
+ } else {
+ PyErr_Clear(); // clear the failure of the wxPyConvert above
+ arg2 = wxPyCBInputStream_create(obj1, false);
+ if (arg2 == NULL) {
+ PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
+ SWIG_fail;
+ }
+ created2 = true;
+ }
+ }
+ if (obj2) {
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->Load(*arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (created2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (created2)
+ delete arg2;
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_Save(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "filename", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_Save",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxXmlDocument const *)arg1)->Save((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_SaveToStream(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxOutputStream *arg2 = 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "stream", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_SaveToStream",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
+ SWIG_POINTER_EXCEPTION | 0)) == -1)
+ SWIG_fail;
+ if (arg2 == NULL) {
+ PyErr_SetString(PyExc_TypeError,"null reference");
+ SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxXmlDocument const *)arg1)->Save(*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlDocument_IsOk",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxXmlDocument const *)arg1)->IsOk();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_GetRoot(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxXmlNode *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlDocument_GetRoot",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)((wxXmlDocument const *)arg1)->GetRoot();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlDocument_GetVersion",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlDocument const *)arg1)->GetVersion();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_GetFileEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlDocument_GetFileEncoding",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxXmlDocument const *)arg1)->GetFileEncoding();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_SetRoot(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "node", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_SetRoot",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetRoot(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_SetVersion(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "version", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_SetVersion",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetVersion((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlDocument_SetFileEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxXmlDocument *arg1 = (wxXmlDocument *) 0 ;
+ wxString *arg2 = 0 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlDocument_SetFileEncoding",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxXmlDocument,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetFileEncoding((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject * XmlDocument_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxXmlDocument, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyObject *_wrap_new_XmlResourceHandler(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XmlResourceHandler",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxPyXmlResourceHandler *)new wxPyXmlResourceHandler();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyXmlResourceHandler, 1);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ PyObject *arg2 = (PyObject *) 0 ;
+ PyObject *arg3 = (PyObject *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "self",(char *) "_class", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResourceHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ arg2 = obj1;
+ arg3 = obj2;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->_setCallbackInfo(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_CreateResource(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ wxObject *arg3 = (wxObject *) 0 ;
+ wxObject *arg4 = (wxObject *) 0 ;
+ wxObject *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:XmlResourceHandler_CreateResource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxObject *)(arg1)->CreateResource(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_SetParentResource(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlResource *arg2 = (wxXmlResource *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "res", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_SetParentResource",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlResource,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetParentResource(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetResource(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlResource *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetResource",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlResource *)(arg1)->GetResource();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlResource, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetNode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlNode *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetNode",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)(arg1)->GetNode();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetClass(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetClass",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetClass();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxObject *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetParent",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxObject *)(arg1)->GetParent();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetInstance(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxObject *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetInstance",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxObject *)(arg1)->GetInstance();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetParentAsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxWindow *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetParentAsWindow",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxWindow *)(arg1)->GetParentAsWindow();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetInstanceAsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxWindow *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetInstanceAsWindow",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxWindow *)(arg1)->GetInstanceAsWindow();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_IsOfClass(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ wxString *arg3 = 0 ;
+ bool result;
+ bool temp3 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "node",(char *) "classname", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResourceHandler_IsOfClass",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->IsOfClass(arg2,(wxString const &)*arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetNodeContent(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "node", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_GetNodeContent",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetNodeContent(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_HasParam(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_HasParam",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->HasParam((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetParamNode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ wxXmlNode *result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_GetParamNode",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxXmlNode *)(arg1)->GetParamNode((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXmlNode, 0);
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetParamValue(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ wxString result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_GetParamValue",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetParamValue((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ int arg3 ;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "name",(char *) "value", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:XmlResourceHandler_AddStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddStyle((wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_AddWindowStyles(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_AddWindowStyles",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->AddWindowStyles();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString const &arg2_defvalue = wxPyStyleString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ int arg3 = (int) 0 ;
+ int result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "defaults", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:XmlResourceHandler_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ if (obj2) {
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetStyle((wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ bool arg3 = (bool) true ;
+ wxString result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "translate", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlResourceHandler_GetText",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ arg3 = (bool)SWIG_As_bool(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetText((wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetID(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ int result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetID",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetID();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetName",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetName();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+#if wxUSE_UNICODE
+ resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
+#else
+ resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
+#endif
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ bool arg3 = (bool) false ;
+ bool result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "defaultv", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlResourceHandler_GetBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ arg3 = (bool)SWIG_As_bool(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)(arg1)->GetBool((wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ long arg3 = (long) 0 ;
+ long result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "defaultv", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlResourceHandler_GetLong",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ arg3 = (long)SWIG_As_long(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (long)(arg1)->GetLong((wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_long((long)result);
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ wxColour result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_GetColour",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetColour((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxColour * resultptr;
+ resultptr = new wxColour((wxColour &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString const &arg2_defvalue = wxPySizeString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxSize result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:XmlResourceHandler_GetSize",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetSize((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxSize * resultptr;
+ resultptr = new wxSize((wxSize &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString const &arg2_defvalue = wxPyPosString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxPoint result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:XmlResourceHandler_GetPosition",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetPosition((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxPoint * resultptr;
+ resultptr = new wxPoint((wxPoint &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString *arg2 = 0 ;
+ int arg3 = (int) 0 ;
+ int result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "defaultv", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlResourceHandler_GetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ if (obj2) {
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (int)(arg1)->GetDimension((wxString const &)*arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_From_int((int)result);
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString const &arg2_defvalue = wxPyBitmapString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxArtClient const &arg3_defvalue = wxART_OTHER ;
+ wxArtClient *arg3 = (wxArtClient *) &arg3_defvalue ;
+ wxSize arg4 = (wxSize) wxDefaultSize ;
+ wxBitmap result;
+ bool temp2 = false ;
+ wxSize *argp4 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:XmlResourceHandler_GetBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ if (obj2) {
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArtClient,
+ SWIG_POINTER_EXCEPTION | 0)) == -1)
+ SWIG_fail;
+ if (arg3 == NULL) {
+ PyErr_SetString(PyExc_TypeError,"null reference");
+ SWIG_fail;
+ }
+ }
+ if (obj3) {
+ if ((SWIG_ConvertPtr(obj3,(void **)(&argp4),SWIGTYPE_p_wxSize,
+ SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
+ arg4 = *argp4;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetBitmap((wxString const &)*arg2,(wxArtClient const &)*arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxBitmap * resultptr;
+ resultptr = new wxBitmap((wxBitmap &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString const &arg2_defvalue = wxPyIconString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxArtClient const &arg3_defvalue = wxART_OTHER ;
+ wxArtClient *arg3 = (wxArtClient *) &arg3_defvalue ;
+ wxSize arg4 = (wxSize) wxDefaultSize ;
+ wxIcon result;
+ bool temp2 = false ;
+ wxSize *argp4 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param",(char *) "defaultArtClient",(char *) "size", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:XmlResourceHandler_GetIcon",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ if (obj2) {
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxArtClient,
+ SWIG_POINTER_EXCEPTION | 0)) == -1)
+ SWIG_fail;
+ if (arg3 == NULL) {
+ PyErr_SetString(PyExc_TypeError,"null reference");
+ SWIG_fail;
+ }
+ }
+ if (obj3) {
+ if ((SWIG_ConvertPtr(obj3,(void **)(&argp4),SWIGTYPE_p_wxSize,
+ SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
+ arg4 = *argp4;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetIcon((wxString const &)*arg2,(wxArtClient const &)*arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxIcon * resultptr;
+ resultptr = new wxIcon((wxIcon &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxString const &arg2_defvalue = wxPyFontString ;
+ wxString *arg2 = (wxString *) &arg2_defvalue ;
+ wxFont result;
+ bool temp2 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "param", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:XmlResourceHandler_GetFont",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj1) {
+ {
+ arg2 = wxString_in_helper(obj1);
+ if (arg2 == NULL) SWIG_fail;
+ temp2 = true;
+ }
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (arg1)->GetFont((wxString const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxFont * resultptr;
+ resultptr = new wxFont((wxFont &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
+ }
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp2)
+ delete arg2;
+ }
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_SetupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxWindow *arg2 = (wxWindow *) 0 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "wnd", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:XmlResourceHandler_SetupWindow",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetupWindow(arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxObject *arg2 = (wxObject *) 0 ;
+ bool arg3 = (bool) false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "this_hnd_only", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlResourceHandler_CreateChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj2) {
+ arg3 = (bool)SWIG_As_bool(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CreateChildren(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxObject *arg2 = (wxObject *) 0 ;
+ wxXmlNode *arg3 = (wxXmlNode *) NULL ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "parent",(char *) "rootnode", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:XmlResourceHandler_CreateChildrenPrivately",kwnames,&obj0,&obj1,&obj2)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj2) {
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->CreateChildrenPrivately(arg2,arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_CreateResFromNode(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxXmlNode *arg2 = (wxXmlNode *) 0 ;
+ wxObject *arg3 = (wxObject *) 0 ;
+ wxObject *arg4 = (wxObject *) NULL ;
+ wxObject *result;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "node",(char *) "parent",(char *) "instance", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:XmlResourceHandler_CreateResFromNode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxXmlNode,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ if (obj3) {
+ if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxObject,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxObject *)(arg1)->CreateResFromNode(arg2,arg3,arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_XmlResourceHandler_GetCurFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ;
+ wxFileSystem *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:XmlResourceHandler_GetCurFileSystem",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyXmlResourceHandler,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ {
+ wxFileSystem &_result_ref = (arg1)->GetCurFileSystem();
+ result = (wxFileSystem *) &_result_ref;
+ }
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject * XmlResourceHandler_swigregister(PyObject *, PyObject *args) {
+ PyObject *obj;
+ if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
+ SWIG_TypeClientData(SWIGTYPE_p_wxPyXmlResourceHandler, obj);
+ Py_INCREF(obj);
+ return Py_BuildValue((char *)"");
+}
+static PyMethodDef SwigMethods[] = {
+ { (char *)"new_XmlResource", (PyCFunction) _wrap_new_XmlResource, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_EmptyXmlResource", (PyCFunction) _wrap_new_EmptyXmlResource, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"delete_XmlResource", (PyCFunction) _wrap_delete_XmlResource, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_Load", (PyCFunction) _wrap_XmlResource_Load, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadFromString", (PyCFunction) _wrap_XmlResource_LoadFromString, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_InitAllHandlers", (PyCFunction) _wrap_XmlResource_InitAllHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_AddHandler", (PyCFunction) _wrap_XmlResource_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_InsertHandler", (PyCFunction) _wrap_XmlResource_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_ClearHandlers", (PyCFunction) _wrap_XmlResource_ClearHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_AddSubclassFactory", (PyCFunction) _wrap_XmlResource_AddSubclassFactory, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadMenu", (PyCFunction) _wrap_XmlResource_LoadMenu, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadMenuBar", (PyCFunction) _wrap_XmlResource_LoadMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadMenuBarOnFrame", (PyCFunction) _wrap_XmlResource_LoadMenuBarOnFrame, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadToolBar", (PyCFunction) _wrap_XmlResource_LoadToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadDialog", (PyCFunction) _wrap_XmlResource_LoadDialog, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadOnDialog", (PyCFunction) _wrap_XmlResource_LoadOnDialog, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadPanel", (PyCFunction) _wrap_XmlResource_LoadPanel, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadOnPanel", (PyCFunction) _wrap_XmlResource_LoadOnPanel, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadFrame", (PyCFunction) _wrap_XmlResource_LoadFrame, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadOnFrame", (PyCFunction) _wrap_XmlResource_LoadOnFrame, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadObject", (PyCFunction) _wrap_XmlResource_LoadObject, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadOnObject", (PyCFunction) _wrap_XmlResource_LoadOnObject, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadBitmap", (PyCFunction) _wrap_XmlResource_LoadBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_LoadIcon", (PyCFunction) _wrap_XmlResource_LoadIcon, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_AttachUnknownControl", (PyCFunction) _wrap_XmlResource_AttachUnknownControl, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_GetXRCID", (PyCFunction) _wrap_XmlResource_GetXRCID, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_GetVersion", (PyCFunction) _wrap_XmlResource_GetVersion, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_CompareVersion", (PyCFunction) _wrap_XmlResource_CompareVersion, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_Get", (PyCFunction) _wrap_XmlResource_Get, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_Set", (PyCFunction) _wrap_XmlResource_Set, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_GetFlags", (PyCFunction) _wrap_XmlResource_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_SetFlags", (PyCFunction) _wrap_XmlResource_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResource_swigregister", XmlResource_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_XmlSubclassFactory", (PyCFunction) _wrap_new_XmlSubclassFactory, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlSubclassFactory__setCallbackInfo", (PyCFunction) _wrap_XmlSubclassFactory__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlSubclassFactory_swigregister", XmlSubclassFactory_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_XmlProperty", (PyCFunction) _wrap_new_XmlProperty, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_GetName", (PyCFunction) _wrap_XmlProperty_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_GetValue", (PyCFunction) _wrap_XmlProperty_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_GetNext", (PyCFunction) _wrap_XmlProperty_GetNext, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_SetName", (PyCFunction) _wrap_XmlProperty_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_SetValue", (PyCFunction) _wrap_XmlProperty_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_SetNext", (PyCFunction) _wrap_XmlProperty_SetNext, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlProperty_swigregister", XmlProperty_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_XmlNode", (PyCFunction) _wrap_new_XmlNode, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"delete_XmlNode", (PyCFunction) _wrap_delete_XmlNode, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_XmlNodeEasy", (PyCFunction) _wrap_new_XmlNodeEasy, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_AddChild", (PyCFunction) _wrap_XmlNode_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_InsertChild", (PyCFunction) _wrap_XmlNode_InsertChild, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_RemoveChild", (PyCFunction) _wrap_XmlNode_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_AddProperty", (PyCFunction) _wrap_XmlNode_AddProperty, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_AddPropertyName", (PyCFunction) _wrap_XmlNode_AddPropertyName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_DeleteProperty", (PyCFunction) _wrap_XmlNode_DeleteProperty, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetType", (PyCFunction) _wrap_XmlNode_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetName", (PyCFunction) _wrap_XmlNode_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetContent", (PyCFunction) _wrap_XmlNode_GetContent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetParent", (PyCFunction) _wrap_XmlNode_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetNext", (PyCFunction) _wrap_XmlNode_GetNext, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetChildren", (PyCFunction) _wrap_XmlNode_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetProperties", (PyCFunction) _wrap_XmlNode_GetProperties, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_GetPropVal", (PyCFunction) _wrap_XmlNode_GetPropVal, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_HasProp", (PyCFunction) _wrap_XmlNode_HasProp, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetType", (PyCFunction) _wrap_XmlNode_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetName", (PyCFunction) _wrap_XmlNode_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetContent", (PyCFunction) _wrap_XmlNode_SetContent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetParent", (PyCFunction) _wrap_XmlNode_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetNext", (PyCFunction) _wrap_XmlNode_SetNext, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetChildren", (PyCFunction) _wrap_XmlNode_SetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_SetProperties", (PyCFunction) _wrap_XmlNode_SetProperties, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlNode_swigregister", XmlNode_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_XmlDocument", (PyCFunction) _wrap_new_XmlDocument, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_XmlDocumentFromStream", (PyCFunction) _wrap_new_XmlDocumentFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_EmptyXmlDocument", (PyCFunction) _wrap_new_EmptyXmlDocument, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"delete_XmlDocument", (PyCFunction) _wrap_delete_XmlDocument, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_Load", (PyCFunction) _wrap_XmlDocument_Load, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_LoadFromStream", (PyCFunction) _wrap_XmlDocument_LoadFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_Save", (PyCFunction) _wrap_XmlDocument_Save, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_SaveToStream", (PyCFunction) _wrap_XmlDocument_SaveToStream, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_IsOk", (PyCFunction) _wrap_XmlDocument_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_GetRoot", (PyCFunction) _wrap_XmlDocument_GetRoot, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_GetVersion", (PyCFunction) _wrap_XmlDocument_GetVersion, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_GetFileEncoding", (PyCFunction) _wrap_XmlDocument_GetFileEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_SetRoot", (PyCFunction) _wrap_XmlDocument_SetRoot, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_SetVersion", (PyCFunction) _wrap_XmlDocument_SetVersion, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_SetFileEncoding", (PyCFunction) _wrap_XmlDocument_SetFileEncoding, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlDocument_swigregister", XmlDocument_swigregister, METH_VARARGS, NULL },
+ { (char *)"new_XmlResourceHandler", (PyCFunction) _wrap_new_XmlResourceHandler, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler__setCallbackInfo", (PyCFunction) _wrap_XmlResourceHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_CreateResource", (PyCFunction) _wrap_XmlResourceHandler_CreateResource, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_SetParentResource", (PyCFunction) _wrap_XmlResourceHandler_SetParentResource, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetResource", (PyCFunction) _wrap_XmlResourceHandler_GetResource, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetNode", (PyCFunction) _wrap_XmlResourceHandler_GetNode, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetClass", (PyCFunction) _wrap_XmlResourceHandler_GetClass, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetParent", (PyCFunction) _wrap_XmlResourceHandler_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetInstance", (PyCFunction) _wrap_XmlResourceHandler_GetInstance, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetParentAsWindow", (PyCFunction) _wrap_XmlResourceHandler_GetParentAsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetInstanceAsWindow", (PyCFunction) _wrap_XmlResourceHandler_GetInstanceAsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_IsOfClass", (PyCFunction) _wrap_XmlResourceHandler_IsOfClass, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetNodeContent", (PyCFunction) _wrap_XmlResourceHandler_GetNodeContent, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_HasParam", (PyCFunction) _wrap_XmlResourceHandler_HasParam, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetParamNode", (PyCFunction) _wrap_XmlResourceHandler_GetParamNode, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetParamValue", (PyCFunction) _wrap_XmlResourceHandler_GetParamValue, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_AddStyle", (PyCFunction) _wrap_XmlResourceHandler_AddStyle, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_AddWindowStyles", (PyCFunction) _wrap_XmlResourceHandler_AddWindowStyles, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetStyle", (PyCFunction) _wrap_XmlResourceHandler_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetText", (PyCFunction) _wrap_XmlResourceHandler_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetID", (PyCFunction) _wrap_XmlResourceHandler_GetID, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetName", (PyCFunction) _wrap_XmlResourceHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetBool", (PyCFunction) _wrap_XmlResourceHandler_GetBool, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetLong", (PyCFunction) _wrap_XmlResourceHandler_GetLong, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetColour", (PyCFunction) _wrap_XmlResourceHandler_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetSize", (PyCFunction) _wrap_XmlResourceHandler_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetPosition", (PyCFunction) _wrap_XmlResourceHandler_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetDimension", (PyCFunction) _wrap_XmlResourceHandler_GetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetBitmap", (PyCFunction) _wrap_XmlResourceHandler_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetIcon", (PyCFunction) _wrap_XmlResourceHandler_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetFont", (PyCFunction) _wrap_XmlResourceHandler_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_SetupWindow", (PyCFunction) _wrap_XmlResourceHandler_SetupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_CreateChildren", (PyCFunction) _wrap_XmlResourceHandler_CreateChildren, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_CreateChildrenPrivately", (PyCFunction) _wrap_XmlResourceHandler_CreateChildrenPrivately, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_CreateResFromNode", (PyCFunction) _wrap_XmlResourceHandler_CreateResFromNode, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_GetCurFileSystem", (PyCFunction) _wrap_XmlResourceHandler_GetCurFileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"XmlResourceHandler_swigregister", XmlResourceHandler_swigregister, METH_VARARGS, NULL },
+ { NULL, NULL, 0, NULL }
+};
+
+
+/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
+
+static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxLayoutConstraints *) x));
+}
+static void *_p_wxXmlDocumentTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxXmlDocument *) x));
+}
+static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
+}
+static void *_p_wxSizerItemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxSizerItem *) x));
+}
+static void *_p_wxScrollEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
+}
+static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
+}
+static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
+}
+static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
+}
+static void *_p_wxSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxSizer *) x));
+}
+static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
+}
+static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
+}
+static void *_p_wxEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxEvent *) x));
+}
+static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
+}
+static void *_p_wxGridSizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
+}
+static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
+}
+static void *_p_wxPaintEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
+}
+static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
+}
+static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
+}
+static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
+}
+static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
+}
+static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
+}
+static void *_p_wxControlTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
+}
+static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
+}
+static void *_p_wxFSFileTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFSFile *) x));
+}
+static void *_p_wxPySizerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
+}
+static void *_p_wxPyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
+}
+static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
+}
+static void *_p_wxShowEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
+}
+static void *_p_wxMenuItemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxMenuItem *) x));
+}
+static void *_p_wxIdleEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
+}
+static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
+}
+static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
+}
+static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
+}
+static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
+}
+static void *_p_wxSizeEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
+}
+static void *_p_wxMoveEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
+}
+static void *_p_wxActivateEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
+}
+static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
+}
+static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
+}
+static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
+}
+static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
+}
+static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
+}
+static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
+}
+static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
+}
+static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
+}
+static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
+}
+static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
+}
+static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxImageHandler *) x));
+}
+static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
+}
+static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxEvtHandler *) x));
+}
+static void *_p_wxPyXmlResourceHandlerTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxPyXmlResourceHandler *) x));
+}
+static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxAcceleratorTable *) x));
+}
+static void *_p_wxImageTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxImage *) x));
+}
+static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
+}
+static void *_p_wxXmlResourceTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxXmlResource *) x));
+}
+static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
+}
+static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
+}
+static void *_p_wxKeyEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
+}
+static void *_p_wxWindowTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
+}
+static void *_p_wxMenuTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
+}
+static void *_p_wxMenuBarTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
+}
+static void *_p_wxFileSystemTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) ((wxFileSystem *) x));
+}
+static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
+}
+static void *_p_wxMenuEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
+}
+static void *_p_wxPyAppTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
+}
+static void *_p_wxCloseEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
+}
+static void *_p_wxMouseEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
+}
+static void *_p_wxEraseEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
+}
+static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
+}
+static void *_p_wxCommandEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
+}
+static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
+}
+static void *_p_wxFocusEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
+}
+static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
+}
+static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
+}
+static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
+}
+static void *_p_wxValidatorTo_p_wxObject(void *x) {
+ return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
+}
+static void *_p_wxControlTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) ((wxControl *) x));
+}
+static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
+}
+static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
+ return (void *)((wxWindow *) ((wxMenuBar *) x));
+}
+static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxArtClient[] = {{"_p_wxArtClient", 0, "wxArtClient *", 0, 0, 0, 0},{"_p_wxArtClient", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxPyXmlSubclassFactory[] = {{"_p_wxPyXmlSubclassFactory", 0, "wxPyXmlSubclassFactory *", 0, 0, 0, 0},{"_p_wxPyXmlSubclassFactory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxXmlNode[] = {{"_p_wxXmlNode", 0, "wxXmlNode *", 0, 0, 0, 0},{"_p_wxXmlNode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxPyXmlResourceHandler[] = {{"_p_wxPyXmlResourceHandler", 0, "wxPyXmlResourceHandler *", 0, 0, 0, 0},{"_p_wxPyXmlResourceHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxXmlProperty[] = {{"_p_wxXmlProperty", 0, "wxXmlProperty *", 0, 0, 0, 0},{"_p_wxXmlProperty", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxXmlResource[] = {{"_p_wxXmlResource", 0, "wxXmlResource *", 0, 0, 0, 0},{"_p_wxXmlResource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxXmlDocument[] = {{"_p_wxXmlDocument", 0, "wxXmlDocument *", 0, 0, 0, 0},{"_p_wxXmlDocument", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
+
+static swig_type_info *swig_types_initial[] = {
+_swigt__p_wxFrame,
+_swigt__p_wxIcon,
+_swigt__p_wxObject,
+_swigt__p_wxDialog,
+_swigt__p_wxColour,
+_swigt__p_wxWindow,
+_swigt__p_wxArtClient,
+_swigt__p_wxBitmap,
+_swigt__p_wxPyXmlSubclassFactory,
+_swigt__p_char,
+_swigt__p_wxPoint,
+_swigt__p_wxXmlNode,
+_swigt__p_wxInputStream,
+_swigt__p_wxOutputStream,
+_swigt__p_wxPyXmlResourceHandler,
+_swigt__p_wxFileSystem,
+_swigt__p_wxXmlProperty,
+_swigt__p_wxFont,
+_swigt__p_wxXmlResource,
+_swigt__p_wxXmlDocument,
+_swigt__p_wxPanel,
+_swigt__p_wxSize,
+0
+};
+
+
+/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
+
+static swig_const_info swig_const_table[] = {
+{0, 0, 0, 0.0, 0, 0}};
+
+#ifdef __cplusplus
+}
+#endif
+
+#ifdef __cplusplus
+extern "C"
+#endif
+SWIGEXPORT(void) SWIG_init(void) {
+ static PyObject *SWIG_globals = 0;
+ static int typeinit = 0;
+ PyObject *m, *d;
+ int i;
+ if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
+ m = Py_InitModule((char *) SWIG_name, SwigMethods);
+ d = PyModule_GetDict(m);
+
+ if (!typeinit) {
+ for (i = 0; swig_types_initial[i]; i++) {
+ swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
+ }
+ typeinit = 1;
+ }
+ SWIG_InstallConstants(d,swig_const_table);
+
+ PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
+ SWIG_addvarlink(SWIG_globals,(char*)"UTF8String",_wrap_UTF8String_get, _wrap_UTF8String_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"StyleString",_wrap_StyleString_get, _wrap_StyleString_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"SizeString",_wrap_SizeString_get, _wrap_SizeString_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"PosString",_wrap_PosString_get, _wrap_PosString_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"BitmapString",_wrap_BitmapString_get, _wrap_BitmapString_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"IconString",_wrap_IconString_get, _wrap_IconString_set);
+ SWIG_addvarlink(SWIG_globals,(char*)"FontString",_wrap_FontString_get, _wrap_FontString_set);
+ PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int((int)WX_XMLRES_CURRENT_VERSION_MAJOR));
+ PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int((int)WX_XMLRES_CURRENT_VERSION_MINOR));
+ PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int((int)WX_XMLRES_CURRENT_VERSION_RELEASE));
+ PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int((int)WX_XMLRES_CURRENT_VERSION_REVISION));
+ PyDict_SetItemString(d,"XRC_USE_LOCALE", SWIG_From_int((int)wxXRC_USE_LOCALE));
+ PyDict_SetItemString(d,"XRC_NO_SUBCLASSING", SWIG_From_int((int)wxXRC_NO_SUBCLASSING));
+ PyDict_SetItemString(d,"XRC_NO_RELOADING", SWIG_From_int((int)wxXRC_NO_RELOADING));
+ PyDict_SetItemString(d,"XML_ELEMENT_NODE", SWIG_From_int((int)wxXML_ELEMENT_NODE));
+ PyDict_SetItemString(d,"XML_ATTRIBUTE_NODE", SWIG_From_int((int)wxXML_ATTRIBUTE_NODE));
+ PyDict_SetItemString(d,"XML_TEXT_NODE", SWIG_From_int((int)wxXML_TEXT_NODE));
+ PyDict_SetItemString(d,"XML_CDATA_SECTION_NODE", SWIG_From_int((int)wxXML_CDATA_SECTION_NODE));
+ PyDict_SetItemString(d,"XML_ENTITY_REF_NODE", SWIG_From_int((int)wxXML_ENTITY_REF_NODE));
+ PyDict_SetItemString(d,"XML_ENTITY_NODE", SWIG_From_int((int)wxXML_ENTITY_NODE));
+ PyDict_SetItemString(d,"XML_PI_NODE", SWIG_From_int((int)wxXML_PI_NODE));
+ PyDict_SetItemString(d,"XML_COMMENT_NODE", SWIG_From_int((int)wxXML_COMMENT_NODE));
+ PyDict_SetItemString(d,"XML_DOCUMENT_NODE", SWIG_From_int((int)wxXML_DOCUMENT_NODE));
+ PyDict_SetItemString(d,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int((int)wxXML_DOCUMENT_TYPE_NODE));
+ PyDict_SetItemString(d,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int((int)wxXML_DOCUMENT_FRAG_NODE));
+ PyDict_SetItemString(d,"XML_NOTATION_NODE", SWIG_From_int((int)wxXML_NOTATION_NODE));
+ PyDict_SetItemString(d,"XML_HTML_DOCUMENT_NODE", SWIG_From_int((int)wxXML_HTML_DOCUMENT_NODE));
+
+
+ wxXmlInitResourceModule();
+ wxXmlResource::Get()->InitAllHandlers();
+
+
+}
+