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>
70 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyTuple_Check(target
)) {
82 target
= PyTuple_New(1);
83 PyTuple_SetItem(target
, 0, o2
);
86 PyTuple_SetItem(o3
, 0, o
);
89 target
= PySequence_Concat(o2
, o3
);
96 #if PYTHON_API_VERSION >= 1009
97 static char* wxStringErrorMsg
= "String or Unicode type required";
99 static char* wxStringErrorMsg
= "string type is required for parameter";
104 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
105 wxNotebookEvent
*src
;
107 src
= (wxNotebookEvent
*) ptr
;
108 dest
= (wxNotifyEvent
*) src
;
109 return (void *) dest
;
112 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
113 wxNotebookEvent
*src
;
114 wxCommandEvent
*dest
;
115 src
= (wxNotebookEvent
*) ptr
;
116 dest
= (wxCommandEvent
*) src
;
117 return (void *) dest
;
120 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
121 wxNotebookEvent
*src
;
123 src
= (wxNotebookEvent
*) ptr
;
124 dest
= (wxEvent
*) src
;
125 return (void *) dest
;
128 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
129 wxNotebookEvent
*src
;
131 src
= (wxNotebookEvent
*) ptr
;
132 dest
= (wxObject
*) src
;
133 return (void *) dest
;
136 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
137 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
138 PyObject
* _resultobj
;
139 wxNotebookEvent
* _result
;
140 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
141 int _arg1
= (int ) 0;
142 int _arg2
= (int ) -1;
143 int _arg3
= (int ) -1;
144 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
151 wxPy_BEGIN_ALLOW_THREADS
;
152 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
154 wxPy_END_ALLOW_THREADS
;
155 if (PyErr_Occurred()) return NULL
;
157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
158 _resultobj
= Py_BuildValue("s",_ptemp
);
161 _resultobj
= Py_None
;
166 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
167 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 wxNotebookEvent
* _arg0
;
171 PyObject
* _argo0
= 0;
172 char *_kwnames
[] = { "self", NULL
};
175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
185 wxPy_BEGIN_ALLOW_THREADS
;
186 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
188 wxPy_END_ALLOW_THREADS
;
189 if (PyErr_Occurred()) return NULL
;
190 } _resultobj
= Py_BuildValue("i",_result
);
194 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
195 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
198 wxNotebookEvent
* _arg0
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
213 wxPy_BEGIN_ALLOW_THREADS
;
214 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
216 wxPy_END_ALLOW_THREADS
;
217 if (PyErr_Occurred()) return NULL
;
218 } _resultobj
= Py_BuildValue("i",_result
);
222 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
223 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxNotebookEvent
* _arg0
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "self","page", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
244 wxPy_END_ALLOW_THREADS
;
245 if (PyErr_Occurred()) return NULL
;
246 } Py_INCREF(Py_None
);
247 _resultobj
= Py_None
;
251 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
252 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
254 wxNotebookEvent
* _arg0
;
256 PyObject
* _argo0
= 0;
257 char *_kwnames
[] = { "self","page", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
273 wxPy_END_ALLOW_THREADS
;
274 if (PyErr_Occurred()) return NULL
;
275 } Py_INCREF(Py_None
);
276 _resultobj
= Py_None
;
280 static void *SwigwxNotebookTowxControl(void *ptr
) {
283 src
= (wxNotebook
*) ptr
;
284 dest
= (wxControl
*) src
;
285 return (void *) dest
;
288 static void *SwigwxNotebookTowxWindow(void *ptr
) {
291 src
= (wxNotebook
*) ptr
;
292 dest
= (wxWindow
*) src
;
293 return (void *) dest
;
296 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
299 src
= (wxNotebook
*) ptr
;
300 dest
= (wxEvtHandler
*) src
;
301 return (void *) dest
;
304 static void *SwigwxNotebookTowxObject(void *ptr
) {
307 src
= (wxNotebook
*) ptr
;
308 dest
= (wxObject
*) src
;
309 return (void *) dest
;
312 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
313 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
315 wxNotebook
* _result
;
318 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
319 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
320 long _arg4
= (long ) 0;
321 char * _arg5
= (char *) "notebook";
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj2
= 0;
326 PyObject
* _obj3
= 0;
327 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
343 if (! wxPoint_helper(_obj2
, &_arg2
))
349 if (! wxSize_helper(_obj3
, &_arg3
))
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
356 wxPy_END_ALLOW_THREADS
;
357 if (PyErr_Occurred()) return NULL
;
359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
360 _resultobj
= Py_BuildValue("s",_ptemp
);
363 _resultobj
= Py_None
;
368 #define new_wxPreNotebook() (new wxNotebook())
369 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxNotebook
* _result
;
372 char *_kwnames
[] = { NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (wxNotebook
*)new_wxPreNotebook();
382 wxPy_END_ALLOW_THREADS
;
383 if (PyErr_Occurred()) return NULL
;
385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
386 _resultobj
= Py_BuildValue("s",_ptemp
);
389 _resultobj
= Py_None
;
394 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
395 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
401 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
402 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
403 long _arg5
= (long ) 0;
404 char * _arg6
= (char *) "notebook";
405 PyObject
* _argo0
= 0;
406 PyObject
* _argo1
= 0;
408 PyObject
* _obj3
= 0;
410 PyObject
* _obj4
= 0;
411 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
433 if (! wxPoint_helper(_obj3
, &_arg3
))
439 if (! wxSize_helper(_obj4
, &_arg4
))
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
446 wxPy_END_ALLOW_THREADS
;
447 if (PyErr_Occurred()) return NULL
;
448 } _resultobj
= Py_BuildValue("i",_result
);
452 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
453 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
471 wxPy_BEGIN_ALLOW_THREADS
;
472 _result
= (int )wxNotebook_GetPageCount(_arg0
);
474 wxPy_END_ALLOW_THREADS
;
475 if (PyErr_Occurred()) return NULL
;
476 } _resultobj
= Py_BuildValue("i",_result
);
480 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
481 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
486 PyObject
* _argo0
= 0;
487 char *_kwnames
[] = { "self","nPage", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
500 wxPy_BEGIN_ALLOW_THREADS
;
501 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
503 wxPy_END_ALLOW_THREADS
;
504 if (PyErr_Occurred()) return NULL
;
505 } _resultobj
= Py_BuildValue("i",_result
);
509 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
510 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 bool _arg1
= (bool ) TRUE
;
514 PyObject
* _argo0
= 0;
515 int tempbool1
= (int) TRUE
;
516 char *_kwnames
[] = { "self","bForward", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
528 _arg1
= (bool ) tempbool1
;
530 wxPy_BEGIN_ALLOW_THREADS
;
531 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
540 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
541 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 _result
= (int )wxNotebook_GetSelection(_arg0
);
562 wxPy_END_ALLOW_THREADS
;
563 if (PyErr_Occurred()) return NULL
;
564 } _resultobj
= Py_BuildValue("i",_result
);
568 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
569 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
575 PyObject
* _argo0
= 0;
576 PyObject
* _obj2
= 0;
577 char *_kwnames
[] = { "self","nPage","strText", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
590 #if PYTHON_API_VERSION >= 1009
591 char* tmpPtr
; int tmpSize
;
592 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
596 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
598 _arg2
= new wxString(tmpPtr
, tmpSize
);
600 if (!PyString_Check(_obj2
)) {
601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
604 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
608 wxPy_BEGIN_ALLOW_THREADS
;
609 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
611 wxPy_END_ALLOW_THREADS
;
612 if (PyErr_Occurred()) return NULL
;
613 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
622 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self","nPage", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
644 wxPy_END_ALLOW_THREADS
;
645 if (PyErr_Occurred()) return NULL
;
647 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
655 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
656 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
660 PyObject
* _argo0
= 0;
661 PyObject
* _argo1
= 0;
662 char *_kwnames
[] = { "self","imageList", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 wxNotebook_SetImageList(_arg0
,_arg1
);
685 wxPy_END_ALLOW_THREADS
;
686 if (PyErr_Occurred()) return NULL
;
687 } Py_INCREF(Py_None
);
688 _resultobj
= Py_None
;
692 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
693 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
694 PyObject
* _resultobj
;
697 PyObject
* _argo0
= 0;
698 PyObject
* _argo1
= 0;
699 char *_kwnames
[] = { "self","imageList", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
719 wxPy_BEGIN_ALLOW_THREADS
;
720 wxNotebook_AssignImageList(_arg0
,_arg1
);
722 wxPy_END_ALLOW_THREADS
;
723 if (PyErr_Occurred()) return NULL
;
724 } Py_INCREF(Py_None
);
725 _resultobj
= Py_None
;
729 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
730 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
732 wxImageList
* _result
;
734 PyObject
* _argo0
= 0;
735 char *_kwnames
[] = { "self", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
748 wxPy_BEGIN_ALLOW_THREADS
;
749 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
751 wxPy_END_ALLOW_THREADS
;
752 if (PyErr_Occurred()) return NULL
;
753 }{ _resultobj
= wxPyMake_wxObject(_result
); }
757 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
758 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
763 PyObject
* _argo0
= 0;
764 char *_kwnames
[] = { "self","nPage", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
777 wxPy_BEGIN_ALLOW_THREADS
;
778 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
780 wxPy_END_ALLOW_THREADS
;
781 if (PyErr_Occurred()) return NULL
;
782 } _resultobj
= Py_BuildValue("i",_result
);
786 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
787 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
810 wxPy_END_ALLOW_THREADS
;
811 if (PyErr_Occurred()) return NULL
;
812 } _resultobj
= Py_BuildValue("i",_result
);
816 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
817 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
821 PyObject
* _argo0
= 0;
822 char *_kwnames
[] = { "self", NULL
};
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
835 wxPy_BEGIN_ALLOW_THREADS
;
836 _result
= (int )wxNotebook_GetRowCount(_arg0
);
838 wxPy_END_ALLOW_THREADS
;
839 if (PyErr_Occurred()) return NULL
;
840 } _resultobj
= Py_BuildValue("i",_result
);
844 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
845 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
849 PyObject
* _argo0
= 0;
851 PyObject
* _obj1
= 0;
852 char *_kwnames
[] = { "self","size", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
866 if (! wxSize_helper(_obj1
, &_arg1
))
870 wxPy_BEGIN_ALLOW_THREADS
;
871 wxNotebook_SetPageSize(_arg0
,*_arg1
);
873 wxPy_END_ALLOW_THREADS
;
874 if (PyErr_Occurred()) return NULL
;
875 } Py_INCREF(Py_None
);
876 _resultobj
= Py_None
;
880 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
881 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
885 PyObject
* _argo0
= 0;
887 PyObject
* _obj1
= 0;
888 char *_kwnames
[] = { "self","padding", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
902 if (! wxSize_helper(_obj1
, &_arg1
))
906 wxPy_BEGIN_ALLOW_THREADS
;
907 wxNotebook_SetPadding(_arg0
,*_arg1
);
909 wxPy_END_ALLOW_THREADS
;
910 if (PyErr_Occurred()) return NULL
;
911 } Py_INCREF(Py_None
);
912 _resultobj
= Py_None
;
916 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
917 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self","nPage", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
939 wxPy_END_ALLOW_THREADS
;
940 if (PyErr_Occurred()) return NULL
;
941 } _resultobj
= Py_BuildValue("i",_result
);
945 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
946 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self","nPage", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
965 wxPy_BEGIN_ALLOW_THREADS
;
966 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
968 wxPy_END_ALLOW_THREADS
;
969 if (PyErr_Occurred()) return NULL
;
970 } _resultobj
= Py_BuildValue("i",_result
);
974 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
975 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
979 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
996 wxPy_END_ALLOW_THREADS
;
997 if (PyErr_Occurred()) return NULL
;
998 } _resultobj
= Py_BuildValue("i",_result
);
1002 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1003 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1009 int _arg3
= (int ) FALSE
;
1010 int _arg4
= (int ) -1;
1011 PyObject
* _argo0
= 0;
1012 PyObject
* _argo1
= 0;
1013 PyObject
* _obj2
= 0;
1014 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1034 #if PYTHON_API_VERSION >= 1009
1035 char* tmpPtr
; int tmpSize
;
1036 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1037 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1040 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1042 _arg2
= new wxString(tmpPtr
, tmpSize
);
1044 if (!PyString_Check(_obj2
)) {
1045 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1048 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1055 wxPy_END_ALLOW_THREADS
;
1056 if (PyErr_Occurred()) return NULL
;
1057 } _resultobj
= Py_BuildValue("i",_result
);
1065 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1066 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1073 bool _arg4
= (bool ) FALSE
;
1074 int _arg5
= (int ) -1;
1075 PyObject
* _argo0
= 0;
1076 PyObject
* _argo2
= 0;
1077 PyObject
* _obj3
= 0;
1078 int tempbool4
= (int) FALSE
;
1079 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1092 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1099 #if PYTHON_API_VERSION >= 1009
1100 char* tmpPtr
; int tmpSize
;
1101 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1105 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1107 _arg3
= new wxString(tmpPtr
, tmpSize
);
1109 if (!PyString_Check(_obj3
)) {
1110 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1113 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1116 _arg4
= (bool ) tempbool4
;
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1121 wxPy_END_ALLOW_THREADS
;
1122 if (PyErr_Occurred()) return NULL
;
1123 } _resultobj
= Py_BuildValue("i",_result
);
1131 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1132 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self","nPage", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1154 wxPy_END_ALLOW_THREADS
;
1155 if (PyErr_Occurred()) return NULL
;
1156 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1160 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1161 wxSizeEvent
evt(self
->GetClientSize());
1162 self
->GetEventHandler()->ProcessEvent(evt
);
1164 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 wxNotebook_ResizeChildren(_arg0
);
1184 wxPy_END_ALLOW_THREADS
;
1185 if (PyErr_Occurred()) return NULL
;
1186 } Py_INCREF(Py_None
);
1187 _resultobj
= Py_None
;
1191 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1192 wxSplitterEvent
*src
;
1193 wxCommandEvent
*dest
;
1194 src
= (wxSplitterEvent
*) ptr
;
1195 dest
= (wxCommandEvent
*) src
;
1196 return (void *) dest
;
1199 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1200 wxSplitterEvent
*src
;
1202 src
= (wxSplitterEvent
*) ptr
;
1203 dest
= (wxEvent
*) src
;
1204 return (void *) dest
;
1207 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1208 wxSplitterEvent
*src
;
1210 src
= (wxSplitterEvent
*) ptr
;
1211 dest
= (wxObject
*) src
;
1212 return (void *) dest
;
1215 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1216 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1218 wxSplitterEvent
* _result
;
1219 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1220 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1221 PyObject
* _argo1
= 0;
1222 char *_kwnames
[] = { "type","splitter", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1236 wxPy_BEGIN_ALLOW_THREADS
;
1237 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1239 wxPy_END_ALLOW_THREADS
;
1240 if (PyErr_Occurred()) return NULL
;
1242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1243 _resultobj
= Py_BuildValue("s",_ptemp
);
1246 _resultobj
= Py_None
;
1251 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1252 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1255 wxSplitterEvent
* _arg0
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1274 if (PyErr_Occurred()) return NULL
;
1275 } _resultobj
= Py_BuildValue("i",_result
);
1279 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1280 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1283 wxSplitterEvent
* _arg0
;
1284 PyObject
* _argo0
= 0;
1285 char *_kwnames
[] = { "self", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1301 wxPy_END_ALLOW_THREADS
;
1302 if (PyErr_Occurred()) return NULL
;
1303 } _resultobj
= Py_BuildValue("i",_result
);
1307 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1308 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1311 wxSplitterEvent
* _arg0
;
1312 PyObject
* _argo0
= 0;
1313 char *_kwnames
[] = { "self", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1329 wxPy_END_ALLOW_THREADS
;
1330 if (PyErr_Occurred()) return NULL
;
1331 } _resultobj
= Py_BuildValue("i",_result
);
1335 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1336 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1339 wxSplitterEvent
* _arg0
;
1340 PyObject
* _argo0
= 0;
1341 char *_kwnames
[] = { "self", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1357 wxPy_END_ALLOW_THREADS
;
1358 if (PyErr_Occurred()) return NULL
;
1359 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1363 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1364 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1366 wxSplitterEvent
* _arg0
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self","pos", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1385 wxPy_END_ALLOW_THREADS
;
1386 if (PyErr_Occurred()) return NULL
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1392 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1393 wxSplitterWindow
*src
;
1395 src
= (wxSplitterWindow
*) ptr
;
1396 dest
= (wxWindow
*) src
;
1397 return (void *) dest
;
1400 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1401 wxSplitterWindow
*src
;
1403 src
= (wxSplitterWindow
*) ptr
;
1404 dest
= (wxEvtHandler
*) src
;
1405 return (void *) dest
;
1408 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1409 wxSplitterWindow
*src
;
1411 src
= (wxSplitterWindow
*) ptr
;
1412 dest
= (wxObject
*) src
;
1413 return (void *) dest
;
1416 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1417 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1419 wxSplitterWindow
* _result
;
1422 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1423 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1424 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1425 char * _arg5
= (char *) "splitterWindow";
1426 PyObject
* _argo0
= 0;
1428 PyObject
* _obj2
= 0;
1430 PyObject
* _obj3
= 0;
1431 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1447 if (! wxPoint_helper(_obj2
, &_arg2
))
1453 if (! wxSize_helper(_obj3
, &_arg3
))
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1460 wxPy_END_ALLOW_THREADS
;
1461 if (PyErr_Occurred()) return NULL
;
1463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1464 _resultobj
= Py_BuildValue("s",_ptemp
);
1467 _resultobj
= Py_None
;
1472 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1473 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1475 wxSplitterWindow
* _result
;
1476 char *_kwnames
[] = { NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1486 wxPy_END_ALLOW_THREADS
;
1487 if (PyErr_Occurred()) return NULL
;
1489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1490 _resultobj
= Py_BuildValue("s",_ptemp
);
1493 _resultobj
= Py_None
;
1498 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1499 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1502 wxSplitterWindow
* _arg0
;
1505 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1506 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1507 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1508 char * _arg6
= (char *) "splitterWindow";
1509 PyObject
* _argo0
= 0;
1510 PyObject
* _argo1
= 0;
1512 PyObject
* _obj3
= 0;
1514 PyObject
* _obj4
= 0;
1515 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
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
))
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1550 wxPy_END_ALLOW_THREADS
;
1551 if (PyErr_Occurred()) return NULL
;
1552 } _resultobj
= Py_BuildValue("i",_result
);
1556 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1557 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1560 wxSplitterWindow
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1578 wxPy_END_ALLOW_THREADS
;
1579 if (PyErr_Occurred()) return NULL
;
1580 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1584 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1585 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1588 wxSplitterWindow
* _arg0
;
1589 PyObject
* _argo0
= 0;
1590 char *_kwnames
[] = { "self", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1606 wxPy_END_ALLOW_THREADS
;
1607 if (PyErr_Occurred()) return NULL
;
1608 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1612 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1613 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1615 wxSplitterWindow
* _arg0
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self","mode", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1634 wxPy_END_ALLOW_THREADS
;
1635 if (PyErr_Occurred()) return NULL
;
1636 } Py_INCREF(Py_None
);
1637 _resultobj
= Py_None
;
1641 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1642 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1645 wxSplitterWindow
* _arg0
;
1646 PyObject
* _argo0
= 0;
1647 char *_kwnames
[] = { "self", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1664 if (PyErr_Occurred()) return NULL
;
1665 } _resultobj
= Py_BuildValue("i",_result
);
1669 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1670 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxSplitterWindow
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 PyObject
* _argo1
= 0;
1676 char *_kwnames
[] = { "self","window", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1699 wxPy_END_ALLOW_THREADS
;
1700 if (PyErr_Occurred()) return NULL
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1707 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1710 wxSplitterWindow
* _arg0
;
1713 int _arg3
= (int ) 0;
1714 PyObject
* _argo0
= 0;
1715 PyObject
* _argo1
= 0;
1716 PyObject
* _argo2
= 0;
1717 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1737 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1747 wxPy_END_ALLOW_THREADS
;
1748 if (PyErr_Occurred()) return NULL
;
1749 } _resultobj
= Py_BuildValue("i",_result
);
1753 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1754 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1757 wxSplitterWindow
* _arg0
;
1760 int _arg3
= (int ) 0;
1761 PyObject
* _argo0
= 0;
1762 PyObject
* _argo1
= 0;
1763 PyObject
* _argo2
= 0;
1764 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1784 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1794 wxPy_END_ALLOW_THREADS
;
1795 if (PyErr_Occurred()) return NULL
;
1796 } _resultobj
= Py_BuildValue("i",_result
);
1800 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1801 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1804 wxSplitterWindow
* _arg0
;
1805 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1806 PyObject
* _argo0
= 0;
1807 PyObject
* _argo1
= 0;
1808 char *_kwnames
[] = { "self","toRemove", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1831 wxPy_END_ALLOW_THREADS
;
1832 if (PyErr_Occurred()) return NULL
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1838 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1841 wxSplitterWindow
* _arg0
;
1844 PyObject
* _argo0
= 0;
1845 PyObject
* _argo1
= 0;
1846 PyObject
* _argo2
= 0;
1847 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1867 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1868 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1874 wxPy_BEGIN_ALLOW_THREADS
;
1875 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1877 wxPy_END_ALLOW_THREADS
;
1878 if (PyErr_Occurred()) return NULL
;
1879 } _resultobj
= Py_BuildValue("i",_result
);
1883 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1884 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1887 wxSplitterWindow
* _arg0
;
1888 PyObject
* _argo0
= 0;
1889 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1905 wxPy_END_ALLOW_THREADS
;
1906 if (PyErr_Occurred()) return NULL
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1911 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1912 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1914 wxSplitterWindow
* _arg0
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self","width", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1933 wxPy_END_ALLOW_THREADS
;
1934 if (PyErr_Occurred()) return NULL
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1941 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1943 wxSplitterWindow
* _arg0
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","width", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 if (PyErr_Occurred()) return NULL
;
1964 } Py_INCREF(Py_None
);
1965 _resultobj
= Py_None
;
1969 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1970 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 wxSplitterWindow
* _arg0
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1991 wxPy_END_ALLOW_THREADS
;
1992 if (PyErr_Occurred()) return NULL
;
1993 } _resultobj
= Py_BuildValue("i",_result
);
1997 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1998 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2001 wxSplitterWindow
* _arg0
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
2019 wxPy_END_ALLOW_THREADS
;
2020 if (PyErr_Occurred()) return NULL
;
2021 } _resultobj
= Py_BuildValue("i",_result
);
2025 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2026 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 wxSplitterWindow
* _arg0
;
2030 bool _arg2
= (bool ) TRUE
;
2031 PyObject
* _argo0
= 0;
2032 int tempbool2
= (int) TRUE
;
2033 char *_kwnames
[] = { "self","position","redraw", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2045 _arg2
= (bool ) tempbool2
;
2047 wxPy_BEGIN_ALLOW_THREADS
;
2048 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2050 wxPy_END_ALLOW_THREADS
;
2051 if (PyErr_Occurred()) return NULL
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2058 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2061 wxSplitterWindow
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "self", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2079 wxPy_END_ALLOW_THREADS
;
2080 if (PyErr_Occurred()) return NULL
;
2081 } _resultobj
= Py_BuildValue("i",_result
);
2085 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2086 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2088 wxSplitterWindow
* _arg0
;
2090 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self","min", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2107 wxPy_END_ALLOW_THREADS
;
2108 if (PyErr_Occurred()) return NULL
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2115 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2118 wxSplitterWindow
* _arg0
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "self", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2136 wxPy_END_ALLOW_THREADS
;
2137 if (PyErr_Occurred()) return NULL
;
2138 } _resultobj
= Py_BuildValue("i",_result
);
2142 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
2145 src
= (wxTaskBarIcon
*) ptr
;
2146 dest
= (wxEvtHandler
*) src
;
2147 return (void *) dest
;
2150 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
2153 src
= (wxTaskBarIcon
*) ptr
;
2154 dest
= (wxObject
*) src
;
2155 return (void *) dest
;
2158 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
2159 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxTaskBarIcon
* _result
;
2162 char *_kwnames
[] = { NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
2169 wxPy_BEGIN_ALLOW_THREADS
;
2170 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
2172 wxPy_END_ALLOW_THREADS
;
2173 if (PyErr_Occurred()) return NULL
;
2175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
2176 _resultobj
= Py_BuildValue("s",_ptemp
);
2179 _resultobj
= Py_None
;
2184 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
2185 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2187 wxTaskBarIcon
* _arg0
;
2188 PyObject
* _argo0
= 0;
2189 char *_kwnames
[] = { "self", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
2202 wxPy_BEGIN_ALLOW_THREADS
;
2203 delete_wxTaskBarIcon(_arg0
);
2205 wxPy_END_ALLOW_THREADS
;
2206 if (PyErr_Occurred()) return NULL
;
2207 } Py_INCREF(Py_None
);
2208 _resultobj
= Py_None
;
2212 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
2213 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2216 wxTaskBarIcon
* _arg0
;
2218 char * _arg2
= (char *) "";
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2221 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
2234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,_arg2
);
2244 wxPy_END_ALLOW_THREADS
;
2245 if (PyErr_Occurred()) return NULL
;
2246 } _resultobj
= Py_BuildValue("i",_result
);
2250 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
2251 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2254 wxTaskBarIcon
* _arg0
;
2255 PyObject
* _argo0
= 0;
2256 char *_kwnames
[] = { "self", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
2272 wxPy_END_ALLOW_THREADS
;
2273 if (PyErr_Occurred()) return NULL
;
2274 } _resultobj
= Py_BuildValue("i",_result
);
2278 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2279 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2282 wxTaskBarIcon
* _arg0
;
2284 PyObject
* _argo0
= 0;
2285 PyObject
* _argo1
= 0;
2286 char *_kwnames
[] = { "self","menu", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2306 wxPy_BEGIN_ALLOW_THREADS
;
2307 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2309 wxPy_END_ALLOW_THREADS
;
2310 if (PyErr_Occurred()) return NULL
;
2311 } _resultobj
= Py_BuildValue("i",_result
);
2315 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2316 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2319 wxTaskBarIcon
* _arg0
;
2320 PyObject
* _argo0
= 0;
2321 char *_kwnames
[] = { "self", NULL
};
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2334 wxPy_BEGIN_ALLOW_THREADS
;
2335 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2337 wxPy_END_ALLOW_THREADS
;
2338 if (PyErr_Occurred()) return NULL
;
2339 } _resultobj
= Py_BuildValue("i",_result
);
2343 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2344 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2347 wxTaskBarIcon
* _arg0
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2365 wxPy_END_ALLOW_THREADS
;
2366 if (PyErr_Occurred()) return NULL
;
2367 } _resultobj
= Py_BuildValue("i",_result
);
2371 static PyMethodDef windows2cMethods
[] = {
2372 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
2373 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
2374 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
2375 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
2376 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2377 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
2378 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
2379 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2380 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2381 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2382 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2383 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2384 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2385 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2386 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2387 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
2388 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
2389 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
2390 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
2391 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
2392 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
2393 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2394 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2395 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
2396 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
2397 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2398 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2399 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2400 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2401 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
2402 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
2403 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
2404 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2405 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
2406 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
2407 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2408 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
2409 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
2410 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
2411 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
2412 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
2413 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
2414 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
2415 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
2416 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2417 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2418 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2419 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
2420 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2421 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2422 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2423 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2424 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
2425 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2426 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
2427 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
2428 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2429 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2430 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2431 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2432 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2433 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2434 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
2441 * This table is used by the pointer type-checker
2443 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2444 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2445 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2446 { "_signed_long","_long",0},
2447 { "_wxPrintQuality","_wxCoord",0},
2448 { "_wxPrintQuality","_int",0},
2449 { "_wxPrintQuality","_signed_int",0},
2450 { "_wxPrintQuality","_unsigned_int",0},
2451 { "_wxPrintQuality","_wxWindowID",0},
2452 { "_wxPrintQuality","_uint",0},
2453 { "_wxPrintQuality","_EBool",0},
2454 { "_wxPrintQuality","_size_t",0},
2455 { "_wxPrintQuality","_time_t",0},
2456 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2457 { "_byte","_unsigned_char",0},
2458 { "_long","_unsigned_long",0},
2459 { "_long","_signed_long",0},
2460 { "_size_t","_wxCoord",0},
2461 { "_size_t","_wxPrintQuality",0},
2462 { "_size_t","_time_t",0},
2463 { "_size_t","_unsigned_int",0},
2464 { "_size_t","_int",0},
2465 { "_size_t","_wxWindowID",0},
2466 { "_size_t","_uint",0},
2467 { "_uint","_wxCoord",0},
2468 { "_uint","_wxPrintQuality",0},
2469 { "_uint","_time_t",0},
2470 { "_uint","_size_t",0},
2471 { "_uint","_unsigned_int",0},
2472 { "_uint","_int",0},
2473 { "_uint","_wxWindowID",0},
2474 { "_wxChar","_char",0},
2475 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2476 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2477 { "_char","_wxChar",0},
2478 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2479 { "_EBool","_wxCoord",0},
2480 { "_EBool","_wxPrintQuality",0},
2481 { "_EBool","_signed_int",0},
2482 { "_EBool","_int",0},
2483 { "_EBool","_wxWindowID",0},
2484 { "_unsigned_long","_long",0},
2485 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2486 { "_signed_int","_wxCoord",0},
2487 { "_signed_int","_wxPrintQuality",0},
2488 { "_signed_int","_EBool",0},
2489 { "_signed_int","_wxWindowID",0},
2490 { "_signed_int","_int",0},
2491 { "_WXTYPE","_short",0},
2492 { "_WXTYPE","_signed_short",0},
2493 { "_WXTYPE","_unsigned_short",0},
2494 { "_unsigned_short","_WXTYPE",0},
2495 { "_unsigned_short","_short",0},
2496 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
2497 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2498 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2499 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2500 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2501 { "_signed_short","_WXTYPE",0},
2502 { "_signed_short","_short",0},
2503 { "_unsigned_char","_byte",0},
2504 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2505 { "_unsigned_int","_wxCoord",0},
2506 { "_unsigned_int","_wxPrintQuality",0},
2507 { "_unsigned_int","_time_t",0},
2508 { "_unsigned_int","_size_t",0},
2509 { "_unsigned_int","_uint",0},
2510 { "_unsigned_int","_wxWindowID",0},
2511 { "_unsigned_int","_int",0},
2512 { "_short","_WXTYPE",0},
2513 { "_short","_unsigned_short",0},
2514 { "_short","_signed_short",0},
2515 { "_wxWindowID","_wxCoord",0},
2516 { "_wxWindowID","_wxPrintQuality",0},
2517 { "_wxWindowID","_time_t",0},
2518 { "_wxWindowID","_size_t",0},
2519 { "_wxWindowID","_EBool",0},
2520 { "_wxWindowID","_uint",0},
2521 { "_wxWindowID","_int",0},
2522 { "_wxWindowID","_signed_int",0},
2523 { "_wxWindowID","_unsigned_int",0},
2524 { "_int","_wxCoord",0},
2525 { "_int","_wxPrintQuality",0},
2526 { "_int","_time_t",0},
2527 { "_int","_size_t",0},
2528 { "_int","_EBool",0},
2529 { "_int","_uint",0},
2530 { "_int","_wxWindowID",0},
2531 { "_int","_unsigned_int",0},
2532 { "_int","_signed_int",0},
2533 { "_time_t","_wxCoord",0},
2534 { "_time_t","_wxPrintQuality",0},
2535 { "_time_t","_unsigned_int",0},
2536 { "_time_t","_int",0},
2537 { "_time_t","_wxWindowID",0},
2538 { "_time_t","_uint",0},
2539 { "_time_t","_size_t",0},
2540 { "_wxCoord","_int",0},
2541 { "_wxCoord","_signed_int",0},
2542 { "_wxCoord","_unsigned_int",0},
2543 { "_wxCoord","_wxWindowID",0},
2544 { "_wxCoord","_uint",0},
2545 { "_wxCoord","_EBool",0},
2546 { "_wxCoord","_size_t",0},
2547 { "_wxCoord","_time_t",0},
2548 { "_wxCoord","_wxPrintQuality",0},
2549 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
2550 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2551 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2552 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2553 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2556 static PyObject
*SWIG_globals
;
2560 SWIGEXPORT(void) initwindows2c() {
2562 SWIG_globals
= SWIG_newvarlink();
2563 m
= Py_InitModule("windows2c", windows2cMethods
);
2564 d
= PyModule_GetDict(m
);
2565 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2566 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2567 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2568 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2569 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2570 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2571 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2572 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2573 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2574 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2575 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2576 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
2577 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
2578 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
2579 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
2580 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
2581 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
2582 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
2585 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2586 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);