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 wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
137 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
138 PyObject
* _resultobj
;
140 wxNotebookEvent
* _arg0
;
141 PyObject
* _argo0
= 0;
142 char *_kwnames
[] = { "self", NULL
};
145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
155 wxPy_BEGIN_ALLOW_THREADS
;
156 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
158 wxPy_END_ALLOW_THREADS
;
159 if (PyErr_Occurred()) return NULL
;
160 } _resultobj
= Py_BuildValue("i",_result
);
164 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
165 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
166 PyObject
* _resultobj
;
168 wxNotebookEvent
* _arg0
;
169 PyObject
* _argo0
= 0;
170 char *_kwnames
[] = { "self", NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
186 wxPy_END_ALLOW_THREADS
;
187 if (PyErr_Occurred()) return NULL
;
188 } _resultobj
= Py_BuildValue("i",_result
);
192 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
193 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
195 wxNotebookEvent
* _arg0
;
197 PyObject
* _argo0
= 0;
198 char *_kwnames
[] = { "self","page", NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
211 wxPy_BEGIN_ALLOW_THREADS
;
212 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
214 wxPy_END_ALLOW_THREADS
;
215 if (PyErr_Occurred()) return NULL
;
216 } Py_INCREF(Py_None
);
217 _resultobj
= Py_None
;
221 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
222 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
224 wxNotebookEvent
* _arg0
;
226 PyObject
* _argo0
= 0;
227 char *_kwnames
[] = { "self","page", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
240 wxPy_BEGIN_ALLOW_THREADS
;
241 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
243 wxPy_END_ALLOW_THREADS
;
244 if (PyErr_Occurred()) return NULL
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
250 static void *SwigwxNotebookTowxControl(void *ptr
) {
253 src
= (wxNotebook
*) ptr
;
254 dest
= (wxControl
*) src
;
255 return (void *) dest
;
258 static void *SwigwxNotebookTowxWindow(void *ptr
) {
261 src
= (wxNotebook
*) ptr
;
262 dest
= (wxWindow
*) src
;
263 return (void *) dest
;
266 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
269 src
= (wxNotebook
*) ptr
;
270 dest
= (wxEvtHandler
*) src
;
271 return (void *) dest
;
274 static void *SwigwxNotebookTowxObject(void *ptr
) {
277 src
= (wxNotebook
*) ptr
;
278 dest
= (wxObject
*) src
;
279 return (void *) dest
;
282 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
283 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
285 wxNotebook
* _result
;
288 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
289 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
290 long _arg4
= (long ) 0;
291 char * _arg5
= (char *) "notebook";
292 PyObject
* _argo0
= 0;
294 PyObject
* _obj2
= 0;
296 PyObject
* _obj3
= 0;
297 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
313 if (! wxPoint_helper(_obj2
, &_arg2
))
319 if (! wxSize_helper(_obj3
, &_arg3
))
323 wxPy_BEGIN_ALLOW_THREADS
;
324 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
326 wxPy_END_ALLOW_THREADS
;
327 if (PyErr_Occurred()) return NULL
;
329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
330 _resultobj
= Py_BuildValue("s",_ptemp
);
333 _resultobj
= Py_None
;
338 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
339 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 _result
= (int )wxNotebook_GetPageCount(_arg0
);
360 wxPy_END_ALLOW_THREADS
;
361 if (PyErr_Occurred()) return NULL
;
362 } _resultobj
= Py_BuildValue("i",_result
);
366 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
367 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self","nPage", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
389 wxPy_END_ALLOW_THREADS
;
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
396 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 bool _arg1
= (bool ) TRUE
;
400 PyObject
* _argo0
= 0;
401 int tempbool1
= (int) TRUE
;
402 char *_kwnames
[] = { "self","bForward", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
414 _arg1
= (bool ) tempbool1
;
416 wxPy_BEGIN_ALLOW_THREADS
;
417 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
419 wxPy_END_ALLOW_THREADS
;
420 if (PyErr_Occurred()) return NULL
;
421 } Py_INCREF(Py_None
);
422 _resultobj
= Py_None
;
426 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
427 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
445 wxPy_BEGIN_ALLOW_THREADS
;
446 _result
= (int )wxNotebook_GetSelection(_arg0
);
448 wxPy_END_ALLOW_THREADS
;
449 if (PyErr_Occurred()) return NULL
;
450 } _resultobj
= Py_BuildValue("i",_result
);
454 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
455 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
461 PyObject
* _argo0
= 0;
462 PyObject
* _obj2
= 0;
463 char *_kwnames
[] = { "self","nPage","strText", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
476 #if PYTHON_API_VERSION >= 1009
477 char* tmpPtr
; int tmpSize
;
478 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
482 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
484 _arg2
= new wxString(tmpPtr
, tmpSize
);
486 if (!PyString_Check(_obj2
)) {
487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
490 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
494 wxPy_BEGIN_ALLOW_THREADS
;
495 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
497 wxPy_END_ALLOW_THREADS
;
498 if (PyErr_Occurred()) return NULL
;
499 } _resultobj
= Py_BuildValue("i",_result
);
507 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
508 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self","nPage", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
527 wxPy_BEGIN_ALLOW_THREADS
;
528 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
530 wxPy_END_ALLOW_THREADS
;
531 if (PyErr_Occurred()) return NULL
;
533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
541 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
542 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
546 PyObject
* _argo0
= 0;
547 PyObject
* _argo1
= 0;
548 char *_kwnames
[] = { "self","imageList", NULL
};
551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
568 wxPy_BEGIN_ALLOW_THREADS
;
569 wxNotebook_SetImageList(_arg0
,_arg1
);
571 wxPy_END_ALLOW_THREADS
;
572 if (PyErr_Occurred()) return NULL
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
579 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
581 wxImageList
* _result
;
583 PyObject
* _argo0
= 0;
584 char *_kwnames
[] = { "self", NULL
};
587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
597 wxPy_BEGIN_ALLOW_THREADS
;
598 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
600 wxPy_END_ALLOW_THREADS
;
601 if (PyErr_Occurred()) return NULL
;
602 }{ _resultobj
= wxPyMake_wxObject(_result
); }
606 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
607 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
612 PyObject
* _argo0
= 0;
613 char *_kwnames
[] = { "self","nPage", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
626 wxPy_BEGIN_ALLOW_THREADS
;
627 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
629 wxPy_END_ALLOW_THREADS
;
630 if (PyErr_Occurred()) return NULL
;
631 } _resultobj
= Py_BuildValue("i",_result
);
635 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
636 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
637 PyObject
* _resultobj
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
659 wxPy_END_ALLOW_THREADS
;
660 if (PyErr_Occurred()) return NULL
;
661 } _resultobj
= Py_BuildValue("i",_result
);
665 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
666 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
670 PyObject
* _argo0
= 0;
671 char *_kwnames
[] = { "self", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
684 wxPy_BEGIN_ALLOW_THREADS
;
685 _result
= (int )wxNotebook_GetRowCount(_arg0
);
687 wxPy_END_ALLOW_THREADS
;
688 if (PyErr_Occurred()) return NULL
;
689 } _resultobj
= Py_BuildValue("i",_result
);
693 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
694 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
698 PyObject
* _argo0
= 0;
700 PyObject
* _obj1
= 0;
701 char *_kwnames
[] = { "self","size", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
715 if (! wxSize_helper(_obj1
, &_arg1
))
719 wxPy_BEGIN_ALLOW_THREADS
;
720 wxNotebook_SetPageSize(_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_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
730 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
734 PyObject
* _argo0
= 0;
736 PyObject
* _obj1
= 0;
737 char *_kwnames
[] = { "self","padding", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
751 if (! wxSize_helper(_obj1
, &_arg1
))
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxNotebook_SetPadding(_arg0
,*_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 if (PyErr_Occurred()) return NULL
;
760 } Py_INCREF(Py_None
);
761 _resultobj
= Py_None
;
765 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
766 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self","nPage", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
785 wxPy_BEGIN_ALLOW_THREADS
;
786 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
788 wxPy_END_ALLOW_THREADS
;
789 if (PyErr_Occurred()) return NULL
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
795 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
800 PyObject
* _argo0
= 0;
801 char *_kwnames
[] = { "self","nPage", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
817 wxPy_END_ALLOW_THREADS
;
818 if (PyErr_Occurred()) return NULL
;
819 } _resultobj
= Py_BuildValue("i",_result
);
823 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
824 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
845 wxPy_END_ALLOW_THREADS
;
846 if (PyErr_Occurred()) return NULL
;
847 } _resultobj
= Py_BuildValue("i",_result
);
851 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
852 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
858 int _arg3
= (int ) FALSE
;
859 int _arg4
= (int ) -1;
860 PyObject
* _argo0
= 0;
861 PyObject
* _argo1
= 0;
862 PyObject
* _obj2
= 0;
863 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
883 #if PYTHON_API_VERSION >= 1009
884 char* tmpPtr
; int tmpSize
;
885 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
889 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
891 _arg2
= new wxString(tmpPtr
, tmpSize
);
893 if (!PyString_Check(_obj2
)) {
894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
897 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
901 wxPy_BEGIN_ALLOW_THREADS
;
902 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
904 wxPy_END_ALLOW_THREADS
;
905 if (PyErr_Occurred()) return NULL
;
906 } _resultobj
= Py_BuildValue("i",_result
);
914 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
915 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
922 bool _arg4
= (bool ) FALSE
;
923 int _arg5
= (int ) -1;
924 PyObject
* _argo0
= 0;
925 PyObject
* _argo2
= 0;
926 PyObject
* _obj3
= 0;
927 int tempbool4
= (int) FALSE
;
928 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
941 if (_argo2
== Py_None
) { _arg2
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
948 #if PYTHON_API_VERSION >= 1009
949 char* tmpPtr
; int tmpSize
;
950 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
951 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
954 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
956 _arg3
= new wxString(tmpPtr
, tmpSize
);
958 if (!PyString_Check(_obj3
)) {
959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
962 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
965 _arg4
= (bool ) tempbool4
;
967 wxPy_BEGIN_ALLOW_THREADS
;
968 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
970 wxPy_END_ALLOW_THREADS
;
971 if (PyErr_Occurred()) return NULL
;
972 } _resultobj
= Py_BuildValue("i",_result
);
980 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
981 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
986 PyObject
* _argo0
= 0;
987 char *_kwnames
[] = { "self","nPage", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1003 wxPy_END_ALLOW_THREADS
;
1004 if (PyErr_Occurred()) return NULL
;
1005 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1009 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1010 wxSizeEvent
evt(self
->GetClientSize());
1011 self
->GetEventHandler()->ProcessEvent(evt
);
1013 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1016 PyObject
* _argo0
= 0;
1017 char *_kwnames
[] = { "self", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 wxNotebook_ResizeChildren(_arg0
);
1033 wxPy_END_ALLOW_THREADS
;
1034 if (PyErr_Occurred()) return NULL
;
1035 } Py_INCREF(Py_None
);
1036 _resultobj
= Py_None
;
1040 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1041 wxSplitterEvent
*src
;
1042 wxCommandEvent
*dest
;
1043 src
= (wxSplitterEvent
*) ptr
;
1044 dest
= (wxCommandEvent
*) src
;
1045 return (void *) dest
;
1048 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1049 wxSplitterEvent
*src
;
1051 src
= (wxSplitterEvent
*) ptr
;
1052 dest
= (wxEvent
*) src
;
1053 return (void *) dest
;
1056 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1057 wxSplitterEvent
*src
;
1059 src
= (wxSplitterEvent
*) ptr
;
1060 dest
= (wxObject
*) src
;
1061 return (void *) dest
;
1064 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1065 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 wxSplitterEvent
* _arg0
;
1069 PyObject
* _argo0
= 0;
1070 char *_kwnames
[] = { "self", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1083 wxPy_BEGIN_ALLOW_THREADS
;
1084 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1086 wxPy_END_ALLOW_THREADS
;
1087 if (PyErr_Occurred()) return NULL
;
1088 } _resultobj
= Py_BuildValue("i",_result
);
1092 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1093 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1096 wxSplitterEvent
* _arg0
;
1097 PyObject
* _argo0
= 0;
1098 char *_kwnames
[] = { "self", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1114 wxPy_END_ALLOW_THREADS
;
1115 if (PyErr_Occurred()) return NULL
;
1116 } _resultobj
= Py_BuildValue("i",_result
);
1120 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1121 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1124 wxSplitterEvent
* _arg0
;
1125 PyObject
* _argo0
= 0;
1126 char *_kwnames
[] = { "self", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1139 wxPy_BEGIN_ALLOW_THREADS
;
1140 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1142 wxPy_END_ALLOW_THREADS
;
1143 if (PyErr_Occurred()) return NULL
;
1144 } _resultobj
= Py_BuildValue("i",_result
);
1148 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1149 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1152 wxSplitterEvent
* _arg0
;
1153 PyObject
* _argo0
= 0;
1154 char *_kwnames
[] = { "self", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1170 wxPy_END_ALLOW_THREADS
;
1171 if (PyErr_Occurred()) return NULL
;
1172 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1176 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1177 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxSplitterEvent
* _arg0
;
1181 PyObject
* _argo0
= 0;
1182 char *_kwnames
[] = { "self","pos", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1198 wxPy_END_ALLOW_THREADS
;
1199 if (PyErr_Occurred()) return NULL
;
1200 } Py_INCREF(Py_None
);
1201 _resultobj
= Py_None
;
1205 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1206 wxSplitterWindow
*src
;
1208 src
= (wxSplitterWindow
*) ptr
;
1209 dest
= (wxWindow
*) src
;
1210 return (void *) dest
;
1213 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1214 wxSplitterWindow
*src
;
1216 src
= (wxSplitterWindow
*) ptr
;
1217 dest
= (wxEvtHandler
*) src
;
1218 return (void *) dest
;
1221 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1222 wxSplitterWindow
*src
;
1224 src
= (wxSplitterWindow
*) ptr
;
1225 dest
= (wxObject
*) src
;
1226 return (void *) dest
;
1229 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1230 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1232 wxSplitterWindow
* _result
;
1235 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1236 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1237 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1238 char * _arg5
= (char *) "splitterWindow";
1239 PyObject
* _argo0
= 0;
1241 PyObject
* _obj2
= 0;
1243 PyObject
* _obj3
= 0;
1244 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1260 if (! wxPoint_helper(_obj2
, &_arg2
))
1266 if (! wxSize_helper(_obj3
, &_arg3
))
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1273 wxPy_END_ALLOW_THREADS
;
1274 if (PyErr_Occurred()) return NULL
;
1276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1277 _resultobj
= Py_BuildValue("s",_ptemp
);
1280 _resultobj
= Py_None
;
1285 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1286 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1289 wxSplitterWindow
* _arg0
;
1290 PyObject
* _argo0
= 0;
1291 char *_kwnames
[] = { "self", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
1307 wxPy_END_ALLOW_THREADS
;
1308 if (PyErr_Occurred()) return NULL
;
1309 } _resultobj
= Py_BuildValue("i",_result
);
1313 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
1314 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1317 wxSplitterWindow
* _arg0
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
1335 wxPy_END_ALLOW_THREADS
;
1336 if (PyErr_Occurred()) return NULL
;
1337 } _resultobj
= Py_BuildValue("i",_result
);
1341 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1342 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1345 wxSplitterWindow
* _arg0
;
1346 PyObject
* _argo0
= 0;
1347 char *_kwnames
[] = { "self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
1363 wxPy_END_ALLOW_THREADS
;
1364 if (PyErr_Occurred()) return NULL
;
1365 } _resultobj
= Py_BuildValue("i",_result
);
1369 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1370 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxSplitterWindow
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1391 wxPy_END_ALLOW_THREADS
;
1392 if (PyErr_Occurred()) return NULL
;
1393 } _resultobj
= Py_BuildValue("i",_result
);
1397 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1398 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1401 wxSplitterWindow
* _arg0
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1419 wxPy_END_ALLOW_THREADS
;
1420 if (PyErr_Occurred()) return NULL
;
1421 } _resultobj
= Py_BuildValue("i",_result
);
1425 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1426 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 wxSplitterWindow
* _arg0
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1448 if (PyErr_Occurred()) return NULL
;
1449 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1453 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1454 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1457 wxSplitterWindow
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1475 wxPy_END_ALLOW_THREADS
;
1476 if (PyErr_Occurred()) return NULL
;
1477 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1481 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1482 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1484 wxSplitterWindow
* _arg0
;
1486 PyObject
* _argo0
= 0;
1487 PyObject
* _argo1
= 0;
1488 char *_kwnames
[] = { "self","window", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1501 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1511 wxPy_END_ALLOW_THREADS
;
1512 if (PyErr_Occurred()) return NULL
;
1513 } Py_INCREF(Py_None
);
1514 _resultobj
= Py_None
;
1518 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1519 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 wxSplitterWindow
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1540 wxPy_END_ALLOW_THREADS
;
1541 if (PyErr_Occurred()) return NULL
;
1542 } _resultobj
= Py_BuildValue("i",_result
);
1546 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1547 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1550 wxSplitterWindow
* _arg0
;
1553 PyObject
* _argo0
= 0;
1554 PyObject
* _argo1
= 0;
1555 PyObject
* _argo2
= 0;
1556 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1576 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1586 wxPy_END_ALLOW_THREADS
;
1587 if (PyErr_Occurred()) return NULL
;
1588 } _resultobj
= Py_BuildValue("i",_result
);
1592 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1593 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1595 wxSplitterWindow
* _arg0
;
1597 PyObject
* _argo0
= 0;
1598 char *_kwnames
[] = { "self","width", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1614 wxPy_END_ALLOW_THREADS
;
1615 if (PyErr_Occurred()) return NULL
;
1616 } Py_INCREF(Py_None
);
1617 _resultobj
= Py_None
;
1621 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
1622 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1624 wxSplitterWindow
* _arg0
;
1626 int _arg2
= (int ) TRUE
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","position","redraw", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetSashPosition. Expected _wxSplitterWindow_p.");
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
1644 wxPy_END_ALLOW_THREADS
;
1645 if (PyErr_Occurred()) return NULL
;
1646 } Py_INCREF(Py_None
);
1647 _resultobj
= Py_None
;
1651 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1652 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1654 wxSplitterWindow
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self","width", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
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_SetSashSize. Expected _wxSplitterWindow_p.");
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1673 wxPy_END_ALLOW_THREADS
;
1674 if (PyErr_Occurred()) return NULL
;
1675 } Py_INCREF(Py_None
);
1676 _resultobj
= Py_None
;
1680 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
1681 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 wxSplitterWindow
* _arg0
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self","paneSize", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
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_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
1702 wxPy_END_ALLOW_THREADS
;
1703 if (PyErr_Occurred()) return NULL
;
1704 } Py_INCREF(Py_None
);
1705 _resultobj
= Py_None
;
1709 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1710 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1712 wxSplitterWindow
* _arg0
;
1714 PyObject
* _argo0
= 0;
1715 char *_kwnames
[] = { "self","mode", NULL
};
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1731 wxPy_END_ALLOW_THREADS
;
1732 if (PyErr_Occurred()) return NULL
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1738 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1739 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1742 wxSplitterWindow
* _arg0
;
1745 int _arg3
= (int ) 0;
1746 PyObject
* _argo0
= 0;
1747 PyObject
* _argo1
= 0;
1748 PyObject
* _argo2
= 0;
1749 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1769 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1779 wxPy_END_ALLOW_THREADS
;
1780 if (PyErr_Occurred()) return NULL
;
1781 } _resultobj
= Py_BuildValue("i",_result
);
1785 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1786 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1789 wxSplitterWindow
* _arg0
;
1792 int _arg3
= (int ) 0;
1793 PyObject
* _argo0
= 0;
1794 PyObject
* _argo1
= 0;
1795 PyObject
* _argo2
= 0;
1796 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
1809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1816 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1826 wxPy_END_ALLOW_THREADS
;
1827 if (PyErr_Occurred()) return NULL
;
1828 } _resultobj
= Py_BuildValue("i",_result
);
1832 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1833 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1836 wxSplitterWindow
* _arg0
;
1837 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1838 PyObject
* _argo0
= 0;
1839 PyObject
* _argo1
= 0;
1840 char *_kwnames
[] = { "self","toRemove", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1863 wxPy_END_ALLOW_THREADS
;
1864 if (PyErr_Occurred()) return NULL
;
1865 } _resultobj
= Py_BuildValue("i",_result
);
1869 static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr
) {
1872 src
= (wxTaskBarIcon
*) ptr
;
1873 dest
= (wxEvtHandler
*) src
;
1874 return (void *) dest
;
1877 static void *SwigwxTaskBarIconTowxObject(void *ptr
) {
1880 src
= (wxTaskBarIcon
*) ptr
;
1881 dest
= (wxObject
*) src
;
1882 return (void *) dest
;
1885 #define new_wxTaskBarIcon() (new wxTaskBarIcon())
1886 static PyObject
*_wrap_new_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1888 wxTaskBarIcon
* _result
;
1889 char *_kwnames
[] = { NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTaskBarIcon",_kwnames
))
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 _result
= (wxTaskBarIcon
*)new_wxTaskBarIcon();
1899 wxPy_END_ALLOW_THREADS
;
1900 if (PyErr_Occurred()) return NULL
;
1902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTaskBarIcon_p");
1903 _resultobj
= Py_BuildValue("s",_ptemp
);
1906 _resultobj
= Py_None
;
1911 #define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
1912 static PyObject
*_wrap_delete_wxTaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1914 wxTaskBarIcon
* _arg0
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTaskBarIcon",_kwnames
,&_argo0
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
1929 wxPy_BEGIN_ALLOW_THREADS
;
1930 delete_wxTaskBarIcon(_arg0
);
1932 wxPy_END_ALLOW_THREADS
;
1933 if (PyErr_Occurred()) return NULL
;
1934 } Py_INCREF(Py_None
);
1935 _resultobj
= Py_None
;
1939 #define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
1940 static PyObject
*_wrap_wxTaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1943 wxTaskBarIcon
* _arg0
;
1945 char * _arg2
= (char *) "";
1946 PyObject
* _argo0
= 0;
1947 PyObject
* _argo1
= 0;
1948 char *_kwnames
[] = { "self","icon","tooltip", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxTaskBarIcon_SetIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
1961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 _result
= (bool )wxTaskBarIcon_SetIcon(_arg0
,*_arg1
,_arg2
);
1971 wxPy_END_ALLOW_THREADS
;
1972 if (PyErr_Occurred()) return NULL
;
1973 } _resultobj
= Py_BuildValue("i",_result
);
1977 #define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
1978 static PyObject
*_wrap_wxTaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 wxTaskBarIcon
* _arg0
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_RemoveIcon",_kwnames
,&_argo0
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 _result
= (bool )wxTaskBarIcon_RemoveIcon(_arg0
);
1999 wxPy_END_ALLOW_THREADS
;
2000 if (PyErr_Occurred()) return NULL
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
2006 static PyObject
*_wrap_wxTaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 wxTaskBarIcon
* _arg0
;
2011 PyObject
* _argo0
= 0;
2012 PyObject
* _argo1
= 0;
2013 char *_kwnames
[] = { "self","menu", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTaskBarIcon_PopupMenu",_kwnames
,&_argo0
,&_argo1
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
2026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
2033 wxPy_BEGIN_ALLOW_THREADS
;
2034 _result
= (bool )wxTaskBarIcon_PopupMenu(_arg0
,_arg1
);
2036 wxPy_END_ALLOW_THREADS
;
2037 if (PyErr_Occurred()) return NULL
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxTaskBarIcon_IsIconInstalled(_swigobj) (_swigobj->IsIconInstalled())
2043 static PyObject
*_wrap_wxTaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2046 wxTaskBarIcon
* _arg0
;
2047 PyObject
* _argo0
= 0;
2048 char *_kwnames
[] = { "self", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsIconInstalled",_kwnames
,&_argo0
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsIconInstalled. Expected _wxTaskBarIcon_p.");
2061 wxPy_BEGIN_ALLOW_THREADS
;
2062 _result
= (bool )wxTaskBarIcon_IsIconInstalled(_arg0
);
2064 wxPy_END_ALLOW_THREADS
;
2065 if (PyErr_Occurred()) return NULL
;
2066 } _resultobj
= Py_BuildValue("i",_result
);
2070 #define wxTaskBarIcon_IsOK(_swigobj) (_swigobj->IsOK())
2071 static PyObject
*_wrap_wxTaskBarIcon_IsOK(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2074 wxTaskBarIcon
* _arg0
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTaskBarIcon_IsOK",_kwnames
,&_argo0
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTaskBarIcon_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTaskBarIcon_IsOK. Expected _wxTaskBarIcon_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (bool )wxTaskBarIcon_IsOK(_arg0
);
2092 wxPy_END_ALLOW_THREADS
;
2093 if (PyErr_Occurred()) return NULL
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 static PyMethodDef windows2cMethods
[] = {
2099 { "wxTaskBarIcon_IsOK", (PyCFunction
) _wrap_wxTaskBarIcon_IsOK
, METH_VARARGS
| METH_KEYWORDS
},
2100 { "wxTaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_wxTaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
2101 { "wxTaskBarIcon_PopupMenu", (PyCFunction
) _wrap_wxTaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
2102 { "wxTaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_wxTaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
2103 { "wxTaskBarIcon_SetIcon", (PyCFunction
) _wrap_wxTaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
2104 { "delete_wxTaskBarIcon", (PyCFunction
) _wrap_delete_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
2105 { "new_wxTaskBarIcon", (PyCFunction
) _wrap_new_wxTaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
2106 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
2107 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
2108 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
2109 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2110 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2111 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2112 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2113 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2114 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
2115 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
2116 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
2117 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
2118 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
2119 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2120 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2121 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2122 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2123 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2124 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2125 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2126 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
2127 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
2128 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
2129 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2130 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
2131 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2132 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
2133 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
2134 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
2135 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
2136 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
2137 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
2138 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
2139 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
2140 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2141 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2142 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2143 { "wxNotebook_SetImageList", (PyCFunction
) _wrap_wxNotebook_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2144 { "wxNotebook_GetPageText", (PyCFunction
) _wrap_wxNotebook_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2145 { "wxNotebook_SetPageText", (PyCFunction
) _wrap_wxNotebook_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
2146 { "wxNotebook_GetSelection", (PyCFunction
) _wrap_wxNotebook_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2147 { "wxNotebook_AdvanceSelection", (PyCFunction
) _wrap_wxNotebook_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
2148 { "wxNotebook_SetSelection", (PyCFunction
) _wrap_wxNotebook_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2149 { "wxNotebook_GetPageCount", (PyCFunction
) _wrap_wxNotebook_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
2150 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2151 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2152 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2153 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2154 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2161 * This table is used by the pointer type-checker
2163 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2164 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2165 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2166 { "_signed_long","_long",0},
2167 { "_wxPrintQuality","_wxCoord",0},
2168 { "_wxPrintQuality","_int",0},
2169 { "_wxPrintQuality","_signed_int",0},
2170 { "_wxPrintQuality","_unsigned_int",0},
2171 { "_wxPrintQuality","_wxWindowID",0},
2172 { "_wxPrintQuality","_uint",0},
2173 { "_wxPrintQuality","_EBool",0},
2174 { "_wxPrintQuality","_size_t",0},
2175 { "_wxPrintQuality","_time_t",0},
2176 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2177 { "_byte","_unsigned_char",0},
2178 { "_long","_unsigned_long",0},
2179 { "_long","_signed_long",0},
2180 { "_size_t","_wxCoord",0},
2181 { "_size_t","_wxPrintQuality",0},
2182 { "_size_t","_time_t",0},
2183 { "_size_t","_unsigned_int",0},
2184 { "_size_t","_int",0},
2185 { "_size_t","_wxWindowID",0},
2186 { "_size_t","_uint",0},
2187 { "_uint","_wxCoord",0},
2188 { "_uint","_wxPrintQuality",0},
2189 { "_uint","_time_t",0},
2190 { "_uint","_size_t",0},
2191 { "_uint","_unsigned_int",0},
2192 { "_uint","_int",0},
2193 { "_uint","_wxWindowID",0},
2194 { "_wxChar","_char",0},
2195 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2196 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2197 { "_char","_wxChar",0},
2198 { "_EBool","_wxCoord",0},
2199 { "_EBool","_wxPrintQuality",0},
2200 { "_EBool","_signed_int",0},
2201 { "_EBool","_int",0},
2202 { "_EBool","_wxWindowID",0},
2203 { "_unsigned_long","_long",0},
2204 { "_signed_int","_wxCoord",0},
2205 { "_signed_int","_wxPrintQuality",0},
2206 { "_signed_int","_EBool",0},
2207 { "_signed_int","_wxWindowID",0},
2208 { "_signed_int","_int",0},
2209 { "_WXTYPE","_short",0},
2210 { "_WXTYPE","_signed_short",0},
2211 { "_WXTYPE","_unsigned_short",0},
2212 { "_unsigned_short","_WXTYPE",0},
2213 { "_unsigned_short","_short",0},
2214 { "_wxObject","_wxTaskBarIcon",SwigwxTaskBarIconTowxObject
},
2215 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2216 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2217 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2218 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2219 { "_signed_short","_WXTYPE",0},
2220 { "_signed_short","_short",0},
2221 { "_unsigned_char","_byte",0},
2222 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2223 { "_unsigned_int","_wxCoord",0},
2224 { "_unsigned_int","_wxPrintQuality",0},
2225 { "_unsigned_int","_time_t",0},
2226 { "_unsigned_int","_size_t",0},
2227 { "_unsigned_int","_uint",0},
2228 { "_unsigned_int","_wxWindowID",0},
2229 { "_unsigned_int","_int",0},
2230 { "_short","_WXTYPE",0},
2231 { "_short","_unsigned_short",0},
2232 { "_short","_signed_short",0},
2233 { "_wxWindowID","_wxCoord",0},
2234 { "_wxWindowID","_wxPrintQuality",0},
2235 { "_wxWindowID","_time_t",0},
2236 { "_wxWindowID","_size_t",0},
2237 { "_wxWindowID","_EBool",0},
2238 { "_wxWindowID","_uint",0},
2239 { "_wxWindowID","_int",0},
2240 { "_wxWindowID","_signed_int",0},
2241 { "_wxWindowID","_unsigned_int",0},
2242 { "_int","_wxCoord",0},
2243 { "_int","_wxPrintQuality",0},
2244 { "_int","_time_t",0},
2245 { "_int","_size_t",0},
2246 { "_int","_EBool",0},
2247 { "_int","_uint",0},
2248 { "_int","_wxWindowID",0},
2249 { "_int","_unsigned_int",0},
2250 { "_int","_signed_int",0},
2251 { "_time_t","_wxCoord",0},
2252 { "_time_t","_wxPrintQuality",0},
2253 { "_time_t","_unsigned_int",0},
2254 { "_time_t","_int",0},
2255 { "_time_t","_wxWindowID",0},
2256 { "_time_t","_uint",0},
2257 { "_time_t","_size_t",0},
2258 { "_wxCoord","_int",0},
2259 { "_wxCoord","_signed_int",0},
2260 { "_wxCoord","_unsigned_int",0},
2261 { "_wxCoord","_wxWindowID",0},
2262 { "_wxCoord","_uint",0},
2263 { "_wxCoord","_EBool",0},
2264 { "_wxCoord","_size_t",0},
2265 { "_wxCoord","_time_t",0},
2266 { "_wxCoord","_wxPrintQuality",0},
2267 { "_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler
},
2268 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2269 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2270 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2271 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2274 static PyObject
*SWIG_globals
;
2278 SWIGEXPORT(void) initwindows2c() {
2280 SWIG_globals
= SWIG_newvarlink();
2281 m
= Py_InitModule("windows2c", windows2cMethods
);
2282 d
= PyModule_GetDict(m
);
2283 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2284 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2285 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2286 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2287 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2288 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2289 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2290 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2291 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2292 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2293 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2294 PyDict_SetItemString(d
,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE
));
2295 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN
));
2296 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP
));
2297 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN
));
2298 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP
));
2299 PyDict_SetItemString(d
,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK
));
2300 PyDict_SetItemString(d
,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK
));
2303 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2304 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);