2 * FILE : src/msw/windows2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindows2c
56 #define SWIG_name "windows2c"
62 #include <wx/notebook.h>
63 #include <wx/splitter.h>
64 #include <wx/imaglist.h>
66 #include <wx/msw/taskbar.h>
69 // Put some wx default wxChar* values into wxStrings.
70 DECLARE_DEF_STRING(NOTEBOOK_NAME
);
72 static const wxChar
* wxSplitterNameStr
= wxT("splitter");
73 DECLARE_DEF_STRING(SplitterNameStr
);
74 static const wxString
wxPyEmptyString(wxT(""));
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
105 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
106 wxNotebookEvent
*src
;
108 src
= (wxNotebookEvent
*) ptr
;
109 dest
= (wxNotifyEvent
*) src
;
110 return (void *) dest
;
113 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
114 wxNotebookEvent
*src
;
115 wxCommandEvent
*dest
;
116 src
= (wxNotebookEvent
*) ptr
;
117 dest
= (wxCommandEvent
*) src
;
118 return (void *) dest
;
121 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
122 wxNotebookEvent
*src
;
124 src
= (wxNotebookEvent
*) ptr
;
125 dest
= (wxEvent
*) src
;
126 return (void *) dest
;
129 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
130 wxNotebookEvent
*src
;
132 src
= (wxNotebookEvent
*) ptr
;
133 dest
= (wxObject
*) src
;
134 return (void *) dest
;
137 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
138 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
140 wxNotebookEvent
* _result
;
141 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
142 int _arg1
= (int ) 0;
143 int _arg2
= (int ) -1;
144 int _arg3
= (int ) -1;
145 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
153 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
155 wxPyEndAllowThreads(__tstate
);
156 if (PyErr_Occurred()) return NULL
;
158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
159 _resultobj
= Py_BuildValue("s",_ptemp
);
162 _resultobj
= Py_None
;
167 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
168 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
169 PyObject
* _resultobj
;
171 wxNotebookEvent
* _arg0
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
187 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
191 } _resultobj
= Py_BuildValue("i",_result
);
195 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
196 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
199 wxNotebookEvent
* _arg0
;
200 PyObject
* _argo0
= 0;
201 char *_kwnames
[] = { "self", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
215 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
217 wxPyEndAllowThreads(__tstate
);
218 if (PyErr_Occurred()) return NULL
;
219 } _resultobj
= Py_BuildValue("i",_result
);
223 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
224 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
226 wxNotebookEvent
* _arg0
;
228 PyObject
* _argo0
= 0;
229 char *_kwnames
[] = { "self","page", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
243 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
245 wxPyEndAllowThreads(__tstate
);
246 if (PyErr_Occurred()) return NULL
;
247 } Py_INCREF(Py_None
);
248 _resultobj
= Py_None
;
252 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
253 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
255 wxNotebookEvent
* _arg0
;
257 PyObject
* _argo0
= 0;
258 char *_kwnames
[] = { "self","page", NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
272 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
274 wxPyEndAllowThreads(__tstate
);
275 if (PyErr_Occurred()) return NULL
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 static void *SwigwxNotebookTowxControl(void *ptr
) {
284 src
= (wxNotebook
*) ptr
;
285 dest
= (wxControl
*) src
;
286 return (void *) dest
;
289 static void *SwigwxNotebookTowxWindow(void *ptr
) {
292 src
= (wxNotebook
*) ptr
;
293 dest
= (wxWindow
*) src
;
294 return (void *) dest
;
297 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
300 src
= (wxNotebook
*) ptr
;
301 dest
= (wxEvtHandler
*) src
;
302 return (void *) dest
;
305 static void *SwigwxNotebookTowxObject(void *ptr
) {
308 src
= (wxNotebook
*) ptr
;
309 dest
= (wxObject
*) src
;
310 return (void *) dest
;
313 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
314 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
316 wxNotebook
* _result
;
319 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
320 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
321 long _arg4
= (long ) 0;
322 wxString
* _arg5
= (wxString
*) &wxPyNOTEBOOK_NAME
;
323 PyObject
* _argo0
= 0;
325 PyObject
* _obj2
= 0;
327 PyObject
* _obj3
= 0;
328 PyObject
* _obj5
= 0;
329 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
345 if (! wxPoint_helper(_obj2
, &_arg2
))
351 if (! wxSize_helper(_obj3
, &_arg3
))
356 _arg5
= wxString_in_helper(_obj5
);
361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
362 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
364 wxPyEndAllowThreads(__tstate
);
365 if (PyErr_Occurred()) return NULL
;
367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
368 _resultobj
= Py_BuildValue("s",_ptemp
);
371 _resultobj
= Py_None
;
380 #define new_wxPreNotebook() (new wxNotebook())
381 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
383 wxNotebook
* _result
;
384 char *_kwnames
[] = { NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
392 _result
= (wxNotebook
*)new_wxPreNotebook();
394 wxPyEndAllowThreads(__tstate
);
395 if (PyErr_Occurred()) return NULL
;
397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
398 _resultobj
= Py_BuildValue("s",_ptemp
);
401 _resultobj
= Py_None
;
406 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
407 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
413 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
414 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
415 long _arg5
= (long ) 0;
416 wxString
* _arg6
= (wxString
*) &wxPyNOTEBOOK_NAME
;
417 PyObject
* _argo0
= 0;
418 PyObject
* _argo1
= 0;
420 PyObject
* _obj3
= 0;
422 PyObject
* _obj4
= 0;
423 PyObject
* _obj6
= 0;
424 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
446 if (! wxPoint_helper(_obj3
, &_arg3
))
452 if (! wxSize_helper(_obj4
, &_arg4
))
457 _arg6
= wxString_in_helper(_obj6
);
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
467 } _resultobj
= Py_BuildValue("i",_result
);
475 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
476 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= (int )wxNotebook_GetPageCount(_arg0
);
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } _resultobj
= Py_BuildValue("i",_result
);
503 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
504 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self","nPage", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
526 wxPyEndAllowThreads(__tstate
);
527 if (PyErr_Occurred()) return NULL
;
528 } _resultobj
= Py_BuildValue("i",_result
);
532 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
533 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
534 PyObject
* _resultobj
;
536 bool _arg1
= (bool ) TRUE
;
537 PyObject
* _argo0
= 0;
538 int tempbool1
= (int) TRUE
;
539 char *_kwnames
[] = { "self","bForward", NULL
};
542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
551 _arg1
= (bool ) tempbool1
;
553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
554 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
556 wxPyEndAllowThreads(__tstate
);
557 if (PyErr_Occurred()) return NULL
;
558 } Py_INCREF(Py_None
);
559 _resultobj
= Py_None
;
563 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
564 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
568 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
583 _result
= (int )wxNotebook_GetSelection(_arg0
);
585 wxPyEndAllowThreads(__tstate
);
586 if (PyErr_Occurred()) return NULL
;
587 } _resultobj
= Py_BuildValue("i",_result
);
591 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
592 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
598 PyObject
* _argo0
= 0;
599 PyObject
* _obj2
= 0;
600 char *_kwnames
[] = { "self","nPage","strText", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
613 _arg2
= wxString_in_helper(_obj2
);
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) return NULL
;
623 } _resultobj
= Py_BuildValue("i",_result
);
631 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
632 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
637 PyObject
* _argo0
= 0;
638 char *_kwnames
[] = { "self","nPage", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) return NULL
;
658 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
660 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
669 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
670 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
674 PyObject
* _argo0
= 0;
675 PyObject
* _argo1
= 0;
676 char *_kwnames
[] = { "self","imageList", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
697 wxNotebook_SetImageList(_arg0
,_arg1
);
699 wxPyEndAllowThreads(__tstate
);
700 if (PyErr_Occurred()) return NULL
;
701 } Py_INCREF(Py_None
);
702 _resultobj
= Py_None
;
706 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
707 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 PyObject
* _argo0
= 0;
712 PyObject
* _argo1
= 0;
713 char *_kwnames
[] = { "self","imageList", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
734 wxNotebook_AssignImageList(_arg0
,_arg1
);
736 wxPyEndAllowThreads(__tstate
);
737 if (PyErr_Occurred()) return NULL
;
738 } Py_INCREF(Py_None
);
739 _resultobj
= Py_None
;
743 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
744 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
745 PyObject
* _resultobj
;
746 wxImageList
* _result
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
767 }{ _resultobj
= wxPyMake_wxObject(_result
); }
771 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
772 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 char *_kwnames
[] = { "self","nPage", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) return NULL
;
796 } _resultobj
= Py_BuildValue("i",_result
);
800 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
801 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 } _resultobj
= Py_BuildValue("i",_result
);
830 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
831 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 PyObject
* _argo0
= 0;
836 char *_kwnames
[] = { "self", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 _result
= (int )wxNotebook_GetRowCount(_arg0
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) return NULL
;
854 } _resultobj
= Py_BuildValue("i",_result
);
858 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
859 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
863 PyObject
* _argo0
= 0;
865 PyObject
* _obj1
= 0;
866 char *_kwnames
[] = { "self","size", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
880 if (! wxSize_helper(_obj1
, &_arg1
))
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 wxNotebook_SetPageSize(_arg0
,*_arg1
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
895 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
899 PyObject
* _argo0
= 0;
901 PyObject
* _obj1
= 0;
902 char *_kwnames
[] = { "self","padding", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
916 if (! wxSize_helper(_obj1
, &_arg1
))
920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
921 wxNotebook_SetPadding(_arg0
,*_arg1
);
923 wxPyEndAllowThreads(__tstate
);
924 if (PyErr_Occurred()) return NULL
;
925 } Py_INCREF(Py_None
);
926 _resultobj
= Py_None
;
930 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
931 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "self","nPage", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) return NULL
;
955 } _resultobj
= Py_BuildValue("i",_result
);
959 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
960 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
965 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self","nPage", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
984 } _resultobj
= Py_BuildValue("i",_result
);
988 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
989 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
993 PyObject
* _argo0
= 0;
994 char *_kwnames
[] = { "self", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
1007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1008 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
1010 wxPyEndAllowThreads(__tstate
);
1011 if (PyErr_Occurred()) return NULL
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1017 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1023 int _arg3
= (int ) FALSE
;
1024 int _arg4
= (int ) -1;
1025 PyObject
* _argo0
= 0;
1026 PyObject
* _argo1
= 0;
1027 PyObject
* _obj2
= 0;
1028 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1048 _arg2
= wxString_in_helper(_obj2
);
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1066 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1067 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1074 bool _arg4
= (bool ) FALSE
;
1075 int _arg5
= (int ) -1;
1076 PyObject
* _argo0
= 0;
1077 PyObject
* _argo2
= 0;
1078 PyObject
* _obj3
= 0;
1079 int tempbool4
= (int) FALSE
;
1080 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1093 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1100 _arg3
= wxString_in_helper(_obj3
);
1104 _arg4
= (bool ) tempbool4
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) return NULL
;
1111 } _resultobj
= Py_BuildValue("i",_result
);
1119 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1120 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1125 PyObject
* _argo0
= 0;
1126 char *_kwnames
[] = { "self","nPage", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1148 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1149 wxSizeEvent
evt(self
->GetClientSize());
1150 self
->GetEventHandler()->ProcessEvent(evt
);
1152 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1155 PyObject
* _argo0
= 0;
1156 char *_kwnames
[] = { "self", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 wxNotebook_ResizeChildren(_arg0
);
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) return NULL
;
1174 } Py_INCREF(Py_None
);
1175 _resultobj
= Py_None
;
1179 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1180 wxSplitterEvent
*src
;
1181 wxCommandEvent
*dest
;
1182 src
= (wxSplitterEvent
*) ptr
;
1183 dest
= (wxCommandEvent
*) src
;
1184 return (void *) dest
;
1187 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1188 wxSplitterEvent
*src
;
1190 src
= (wxSplitterEvent
*) ptr
;
1191 dest
= (wxEvent
*) src
;
1192 return (void *) dest
;
1195 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1196 wxSplitterEvent
*src
;
1198 src
= (wxSplitterEvent
*) ptr
;
1199 dest
= (wxObject
*) src
;
1200 return (void *) dest
;
1203 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1204 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxSplitterEvent
* _result
;
1207 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1208 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1209 PyObject
* _argo1
= 0;
1210 char *_kwnames
[] = { "type","splitter", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 _resultobj
= Py_None
;
1239 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1240 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1243 wxSplitterEvent
* _arg0
;
1244 PyObject
* _argo0
= 0;
1245 char *_kwnames
[] = { "self", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } _resultobj
= Py_BuildValue("i",_result
);
1267 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1268 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1271 wxSplitterEvent
* _arg0
;
1272 PyObject
* _argo0
= 0;
1273 char *_kwnames
[] = { "self", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) return NULL
;
1291 } _resultobj
= Py_BuildValue("i",_result
);
1295 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1296 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1299 wxSplitterEvent
* _arg0
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) return NULL
;
1319 } _resultobj
= Py_BuildValue("i",_result
);
1323 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1324 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 wxSplitterEvent
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1351 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1352 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1354 wxSplitterEvent
* _arg0
;
1356 PyObject
* _argo0
= 0;
1357 char *_kwnames
[] = { "self","pos", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) return NULL
;
1375 } Py_INCREF(Py_None
);
1376 _resultobj
= Py_None
;
1380 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1381 wxSplitterWindow
*src
;
1383 src
= (wxSplitterWindow
*) ptr
;
1384 dest
= (wxWindow
*) src
;
1385 return (void *) dest
;
1388 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1389 wxSplitterWindow
*src
;
1391 src
= (wxSplitterWindow
*) ptr
;
1392 dest
= (wxEvtHandler
*) src
;
1393 return (void *) dest
;
1396 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1397 wxSplitterWindow
*src
;
1399 src
= (wxSplitterWindow
*) ptr
;
1400 dest
= (wxObject
*) src
;
1401 return (void *) dest
;
1404 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1405 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxSplitterWindow
* _result
;
1410 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1411 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1412 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1413 wxString
* _arg5
= (wxString
*) &wxPySplitterNameStr
;
1414 PyObject
* _argo0
= 0;
1416 PyObject
* _obj2
= 0;
1418 PyObject
* _obj3
= 0;
1419 PyObject
* _obj5
= 0;
1420 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1436 if (! wxPoint_helper(_obj2
, &_arg2
))
1442 if (! wxSize_helper(_obj3
, &_arg3
))
1447 _arg5
= wxString_in_helper(_obj5
);
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1459 _resultobj
= Py_BuildValue("s",_ptemp
);
1462 _resultobj
= Py_None
;
1471 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1472 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 wxSplitterWindow
* _result
;
1475 char *_kwnames
[] = { NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1492 _resultobj
= Py_None
;
1497 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1498 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1501 wxSplitterWindow
* _arg0
;
1504 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1505 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1506 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1507 wxString
* _arg6
= (wxString
*) &wxPySplitterNameStr
;
1508 PyObject
* _argo0
= 0;
1509 PyObject
* _argo1
= 0;
1511 PyObject
* _obj3
= 0;
1513 PyObject
* _obj4
= 0;
1514 PyObject
* _obj6
= 0;
1515 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1537 if (! wxPoint_helper(_obj3
, &_arg3
))
1543 if (! wxSize_helper(_obj4
, &_arg4
))
1548 _arg6
= wxString_in_helper(_obj6
);
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1566 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1567 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1570 wxSplitterWindow
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1590 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1594 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1595 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1598 wxSplitterWindow
* _arg0
;
1599 PyObject
* _argo0
= 0;
1600 char *_kwnames
[] = { "self", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1622 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1623 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxSplitterWindow
* _arg0
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","mode", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } Py_INCREF(Py_None
);
1647 _resultobj
= Py_None
;
1651 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1652 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1655 wxSplitterWindow
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) return NULL
;
1675 } _resultobj
= Py_BuildValue("i",_result
);
1679 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1680 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1682 wxSplitterWindow
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 PyObject
* _argo1
= 0;
1686 char *_kwnames
[] = { "self","window", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) return NULL
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1717 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1720 wxSplitterWindow
* _arg0
;
1723 int _arg3
= (int ) 0;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 PyObject
* _argo2
= 0;
1727 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1747 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } _resultobj
= Py_BuildValue("i",_result
);
1763 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1764 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1767 wxSplitterWindow
* _arg0
;
1770 int _arg3
= (int ) 0;
1771 PyObject
* _argo0
= 0;
1772 PyObject
* _argo1
= 0;
1773 PyObject
* _argo2
= 0;
1774 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1794 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) return NULL
;
1806 } _resultobj
= Py_BuildValue("i",_result
);
1810 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1811 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxSplitterWindow
* _arg0
;
1815 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1816 PyObject
* _argo0
= 0;
1817 PyObject
* _argo1
= 0;
1818 char *_kwnames
[] = { "self","toRemove", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1843 } _resultobj
= Py_BuildValue("i",_result
);
1847 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1848 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1851 wxSplitterWindow
* _arg0
;
1854 PyObject
* _argo0
= 0;
1855 PyObject
* _argo1
= 0;
1856 PyObject
* _argo2
= 0;
1857 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1877 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1894 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 wxSplitterWindow
* _arg0
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } _resultobj
= Py_BuildValue("i",_result
);
1921 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1922 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 wxSplitterWindow
* _arg0
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","width", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1950 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1951 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1953 wxSplitterWindow
* _arg0
;
1955 PyObject
* _argo0
= 0;
1956 char *_kwnames
[] = { "self","width", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } Py_INCREF(Py_None
);
1975 _resultobj
= Py_None
;
1979 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1980 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1983 wxSplitterWindow
* _arg0
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2007 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2008 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2011 wxSplitterWindow
* _arg0
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) return NULL
;
2031 } _resultobj
= Py_BuildValue("i",_result
);
2035 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2036 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2038 wxSplitterWindow
* _arg0
;
2040 bool _arg2
= (bool ) TRUE
;
2041 PyObject
* _argo0
= 0;
2042 int tempbool2
= (int) TRUE
;
2043 char *_kwnames
[] = { "self","position","redraw", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2055 _arg2
= (bool ) tempbool2
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) return NULL
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2068 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2071 wxSplitterWindow
* _arg0
;
2072 PyObject
* _argo0
= 0;
2073 char *_kwnames
[] = { "self", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } _resultobj
= Py_BuildValue("i",_result
);
2095 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2096 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2098 wxSplitterWindow
* _arg0
;
2100 PyObject
* _argo0
= 0;
2101 char *_kwnames
[] = { "self","min", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2125 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2128 wxSplitterWindow
* _arg0
;
2129 PyObject
* _argo0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2155 src
= (wxTaskBarIcon
*) ptr
;
2156 dest
= (wxEvtHandler
*) src
;
2157 return (void *) dest
;
2160 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2163 src
= (wxTaskBarIcon
*) ptr
;
2164 dest
= (wxObject
*) src
;
2165 return (void *) dest
;
2168 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2169 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2171 wxTaskBarIcon
* _result
;
2172 char *_kwnames
[] = { NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2186 _resultobj
= Py_BuildValue("s",_ptemp
);
2189 _resultobj
= Py_None
;
2194 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2195 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2197 wxTaskBarIcon
* _arg0
;
2198 PyObject
* _argo0
= 0;
2199 char *_kwnames
[] = { "self", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 delete_wxTaskBarIcon(_arg0
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) return NULL
;
2217 } Py_INCREF(Py_None
);
2218 _resultobj
= Py_None
;
2222 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2223 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxTaskBarIcon
* _arg0
;
2228 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2229 PyObject
* _argo0
= 0;
2230 PyObject
* _argo1
= 0;
2231 PyObject
* _obj2
= 0;
2232 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2253 _arg2
= wxString_in_helper(_obj2
);
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,*_arg2
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) return NULL
;
2263 } _resultobj
= Py_BuildValue("i",_result
);
2271 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2272 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 wxTaskBarIcon
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2295 } _resultobj
= Py_BuildValue("i",_result
);
2299 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2300 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2303 wxTaskBarIcon
* _arg0
;
2305 PyObject
* _argo0
= 0;
2306 PyObject
* _argo1
= 0;
2307 char *_kwnames
[] = { "self","menu", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) return NULL
;
2332 } _resultobj
= Py_BuildValue("i",_result
);
2336 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2337 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2340 wxTaskBarIcon
* _arg0
;
2341 PyObject
* _argo0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) return NULL
;
2360 } _resultobj
= Py_BuildValue("i",_result
);
2364 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2365 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2368 wxTaskBarIcon
* _arg0
;
2369 PyObject
* _argo0
= 0;
2370 char *_kwnames
[] = { "self", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) return NULL
;
2388 } _resultobj
= Py_BuildValue("i",_result
);
2392 static PyMethodDef windows2cMethods
[] = {
2393 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
2394 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
2395 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
2396 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
2397 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2398 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
2399 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
2400 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2401 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2402 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2403 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2404 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2405 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2406 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2407 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2408 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
2409 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
2410 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
2411 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
2412 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
2413 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
2414 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2415 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2416 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
2417 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
2418 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2419 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2420 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2421 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2422 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
2423 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
2424 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
2425 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2426 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
2427 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
2428 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2429 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
2430 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
2431 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
2432 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
2433 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
2434 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
2435 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
2436 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
2437 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2438 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2439 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2440 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
2441 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2442 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2443 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2444 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2445 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
2446 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2447 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
2448 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
2449 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2450 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2451 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2452 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2453 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2454 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2455 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
2462 * This table is used by the pointer type-checker
2464 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2465 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2466 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2467 { "_signed_long","_long",0},
2468 { "_wxPrintQuality","_wxCoord",0},
2469 { "_wxPrintQuality","_int",0},
2470 { "_wxPrintQuality","_signed_int",0},
2471 { "_wxPrintQuality","_unsigned_int",0},
2472 { "_wxPrintQuality","_wxWindowID",0},
2473 { "_wxPrintQuality","_uint",0},
2474 { "_wxPrintQuality","_EBool",0},
2475 { "_wxPrintQuality","_size_t",0},
2476 { "_wxPrintQuality","_time_t",0},
2477 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2478 { "_byte","_unsigned_char",0},
2479 { "_long","_unsigned_long",0},
2480 { "_long","_signed_long",0},
2481 { "_size_t","_wxCoord",0},
2482 { "_size_t","_wxPrintQuality",0},
2483 { "_size_t","_time_t",0},
2484 { "_size_t","_unsigned_int",0},
2485 { "_size_t","_int",0},
2486 { "_size_t","_wxWindowID",0},
2487 { "_size_t","_uint",0},
2488 { "_uint","_wxCoord",0},
2489 { "_uint","_wxPrintQuality",0},
2490 { "_uint","_time_t",0},
2491 { "_uint","_size_t",0},
2492 { "_uint","_unsigned_int",0},
2493 { "_uint","_int",0},
2494 { "_uint","_wxWindowID",0},
2495 { "_wxChar","_char",0},
2496 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2497 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2498 { "_char","_wxChar",0},
2499 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2500 { "_EBool","_wxCoord",0},
2501 { "_EBool","_wxPrintQuality",0},
2502 { "_EBool","_signed_int",0},
2503 { "_EBool","_int",0},
2504 { "_EBool","_wxWindowID",0},
2505 { "_unsigned_long","_long",0},
2506 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2507 { "_signed_int","_wxCoord",0},
2508 { "_signed_int","_wxPrintQuality",0},
2509 { "_signed_int","_EBool",0},
2510 { "_signed_int","_wxWindowID",0},
2511 { "_signed_int","_int",0},
2512 { "_WXTYPE","_short",0},
2513 { "_WXTYPE","_signed_short",0},
2514 { "_WXTYPE","_unsigned_short",0},
2515 { "_unsigned_short","_WXTYPE",0},
2516 { "_unsigned_short","_short",0},
2517 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
2518 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2519 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2520 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2521 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2522 { "_signed_short","_WXTYPE",0},
2523 { "_signed_short","_short",0},
2524 { "_unsigned_char","_byte",0},
2525 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2526 { "_unsigned_int","_wxCoord",0},
2527 { "_unsigned_int","_wxPrintQuality",0},
2528 { "_unsigned_int","_time_t",0},
2529 { "_unsigned_int","_size_t",0},
2530 { "_unsigned_int","_uint",0},
2531 { "_unsigned_int","_wxWindowID",0},
2532 { "_unsigned_int","_int",0},
2533 { "_short","_WXTYPE",0},
2534 { "_short","_unsigned_short",0},
2535 { "_short","_signed_short",0},
2536 { "_wxWindowID","_wxCoord",0},
2537 { "_wxWindowID","_wxPrintQuality",0},
2538 { "_wxWindowID","_time_t",0},
2539 { "_wxWindowID","_size_t",0},
2540 { "_wxWindowID","_EBool",0},
2541 { "_wxWindowID","_uint",0},
2542 { "_wxWindowID","_int",0},
2543 { "_wxWindowID","_signed_int",0},
2544 { "_wxWindowID","_unsigned_int",0},
2545 { "_int","_wxCoord",0},
2546 { "_int","_wxPrintQuality",0},
2547 { "_int","_time_t",0},
2548 { "_int","_size_t",0},
2549 { "_int","_EBool",0},
2550 { "_int","_uint",0},
2551 { "_int","_wxWindowID",0},
2552 { "_int","_unsigned_int",0},
2553 { "_int","_signed_int",0},
2554 { "_time_t","_wxCoord",0},
2555 { "_time_t","_wxPrintQuality",0},
2556 { "_time_t","_unsigned_int",0},
2557 { "_time_t","_int",0},
2558 { "_time_t","_wxWindowID",0},
2559 { "_time_t","_uint",0},
2560 { "_time_t","_size_t",0},
2561 { "_wxCoord","_int",0},
2562 { "_wxCoord","_signed_int",0},
2563 { "_wxCoord","_unsigned_int",0},
2564 { "_wxCoord","_wxWindowID",0},
2565 { "_wxCoord","_uint",0},
2566 { "_wxCoord","_EBool",0},
2567 { "_wxCoord","_size_t",0},
2568 { "_wxCoord","_time_t",0},
2569 { "_wxCoord","_wxPrintQuality",0},
2570 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
2571 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2572 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2573 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2574 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2577 static PyObject
*SWIG_globals
;
2581 SWIGEXPORT(void) initwindows2c() {
2583 SWIG_globals
= SWIG_newvarlink();
2584 m
= Py_InitModule("windows2c", windows2cMethods
);
2585 d
= PyModule_GetDict(m
);
2586 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2587 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2588 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2589 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2590 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2591 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2592 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2593 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2594 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2595 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2596 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2597 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
2598 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
2599 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
2600 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
2601 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
2602 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
2603 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
2606 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2607 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);