2 * FILE : src/gtk/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
);
98 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr
) {
101 src
= (wxNotebookEvent
*) ptr
;
102 dest
= (wxNotifyEvent
*) src
;
103 return (void *) dest
;
106 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr
) {
107 wxNotebookEvent
*src
;
108 wxCommandEvent
*dest
;
109 src
= (wxNotebookEvent
*) ptr
;
110 dest
= (wxCommandEvent
*) src
;
111 return (void *) dest
;
114 static void *SwigwxNotebookEventTowxEvent(void *ptr
) {
115 wxNotebookEvent
*src
;
117 src
= (wxNotebookEvent
*) ptr
;
118 dest
= (wxEvent
*) src
;
119 return (void *) dest
;
122 static void *SwigwxNotebookEventTowxObject(void *ptr
) {
123 wxNotebookEvent
*src
;
125 src
= (wxNotebookEvent
*) ptr
;
126 dest
= (wxObject
*) src
;
127 return (void *) dest
;
130 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
131 static PyObject
*_wrap_new_wxNotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
133 wxNotebookEvent
* _result
;
134 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
135 int _arg1
= (int ) 0;
136 int _arg2
= (int ) -1;
137 int _arg3
= (int ) -1;
138 char *_kwnames
[] = { "commandType","id","nSel","nOldSel", NULL
};
142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxNotebookEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
146 _result
= (wxNotebookEvent
*)new_wxNotebookEvent(_arg0
,_arg1
,_arg2
,_arg3
);
148 wxPyEndAllowThreads(__tstate
);
149 if (PyErr_Occurred()) return NULL
;
151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookEvent_p");
152 _resultobj
= Py_BuildValue("s",_ptemp
);
155 _resultobj
= Py_None
;
160 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
161 static PyObject
*_wrap_wxNotebookEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
162 PyObject
* _resultobj
;
164 wxNotebookEvent
* _arg0
;
165 PyObject
* _argo0
= 0;
166 char *_kwnames
[] = { "self", NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetSelection",_kwnames
,&_argo0
))
172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
180 _result
= (int )wxNotebookEvent_GetSelection(_arg0
);
182 wxPyEndAllowThreads(__tstate
);
183 if (PyErr_Occurred()) return NULL
;
184 } _resultobj
= Py_BuildValue("i",_result
);
188 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
189 static PyObject
*_wrap_wxNotebookEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
192 wxNotebookEvent
* _arg0
;
193 PyObject
* _argo0
= 0;
194 char *_kwnames
[] = { "self", NULL
};
197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookEvent_GetOldSelection",_kwnames
,&_argo0
))
200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
208 _result
= (int )wxNotebookEvent_GetOldSelection(_arg0
);
210 wxPyEndAllowThreads(__tstate
);
211 if (PyErr_Occurred()) return NULL
;
212 } _resultobj
= Py_BuildValue("i",_result
);
216 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
217 static PyObject
*_wrap_wxNotebookEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
219 wxNotebookEvent
* _arg0
;
221 PyObject
* _argo0
= 0;
222 char *_kwnames
[] = { "self","page", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetOldSelection",_kwnames
,&_argo0
,&_arg1
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
236 wxNotebookEvent_SetOldSelection(_arg0
,_arg1
);
238 wxPyEndAllowThreads(__tstate
);
239 if (PyErr_Occurred()) return NULL
;
240 } Py_INCREF(Py_None
);
241 _resultobj
= Py_None
;
245 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
246 static PyObject
*_wrap_wxNotebookEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
248 wxNotebookEvent
* _arg0
;
250 PyObject
* _argo0
= 0;
251 char *_kwnames
[] = { "self","page", NULL
};
254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebookEvent_SetSelection",_kwnames
,&_argo0
,&_arg1
))
257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookEvent_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
265 wxNotebookEvent_SetSelection(_arg0
,_arg1
);
267 wxPyEndAllowThreads(__tstate
);
268 if (PyErr_Occurred()) return NULL
;
269 } Py_INCREF(Py_None
);
270 _resultobj
= Py_None
;
274 static void *SwigwxNotebookTowxControl(void *ptr
) {
277 src
= (wxNotebook
*) ptr
;
278 dest
= (wxControl
*) src
;
279 return (void *) dest
;
282 static void *SwigwxNotebookTowxWindow(void *ptr
) {
285 src
= (wxNotebook
*) ptr
;
286 dest
= (wxWindow
*) src
;
287 return (void *) dest
;
290 static void *SwigwxNotebookTowxEvtHandler(void *ptr
) {
293 src
= (wxNotebook
*) ptr
;
294 dest
= (wxEvtHandler
*) src
;
295 return (void *) dest
;
298 static void *SwigwxNotebookTowxObject(void *ptr
) {
301 src
= (wxNotebook
*) ptr
;
302 dest
= (wxObject
*) src
;
303 return (void *) dest
;
306 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
307 static PyObject
*_wrap_new_wxNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
309 wxNotebook
* _result
;
312 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
313 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
314 long _arg4
= (long ) 0;
315 char * _arg5
= (char *) "notebook";
316 PyObject
* _argo0
= 0;
318 PyObject
* _obj2
= 0;
320 PyObject
* _obj3
= 0;
321 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxNotebook",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
337 if (! wxPoint_helper(_obj2
, &_arg2
))
343 if (! wxSize_helper(_obj3
, &_arg3
))
347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
348 _result
= (wxNotebook
*)new_wxNotebook(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
350 wxPyEndAllowThreads(__tstate
);
351 if (PyErr_Occurred()) return NULL
;
353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
354 _resultobj
= Py_BuildValue("s",_ptemp
);
357 _resultobj
= Py_None
;
362 #define new_wxPreNotebook() (new wxNotebook())
363 static PyObject
*_wrap_new_wxPreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
365 wxNotebook
* _result
;
366 char *_kwnames
[] = { NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreNotebook",_kwnames
))
373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
374 _result
= (wxNotebook
*)new_wxPreNotebook();
376 wxPyEndAllowThreads(__tstate
);
377 if (PyErr_Occurred()) return NULL
;
379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebook_p");
380 _resultobj
= Py_BuildValue("s",_ptemp
);
383 _resultobj
= Py_None
;
388 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
389 static PyObject
*_wrap_wxNotebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
395 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
396 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
397 long _arg5
= (long ) 0;
398 char * _arg6
= (char *) "notebook";
399 PyObject
* _argo0
= 0;
400 PyObject
* _argo1
= 0;
402 PyObject
* _obj3
= 0;
404 PyObject
* _obj4
= 0;
405 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxNotebook_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
427 if (! wxPoint_helper(_obj3
, &_arg3
))
433 if (! wxSize_helper(_obj4
, &_arg4
))
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
438 _result
= (bool )wxNotebook_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
440 wxPyEndAllowThreads(__tstate
);
441 if (PyErr_Occurred()) return NULL
;
442 } _resultobj
= Py_BuildValue("i",_result
);
446 #define wxNotebook_GetPageCount(_swigobj) (_swigobj->GetPageCount())
447 static PyObject
*_wrap_wxNotebook_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetPageCount",_kwnames
,&_argo0
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageCount. Expected _wxNotebook_p.");
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 _result
= (int )wxNotebook_GetPageCount(_arg0
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } _resultobj
= Py_BuildValue("i",_result
);
474 #define wxNotebook_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
475 static PyObject
*_wrap_wxNotebook_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self","nPage", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_SetSelection",_kwnames
,&_argo0
,&_arg1
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetSelection. Expected _wxNotebook_p.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= (int )wxNotebook_SetSelection(_arg0
,_arg1
);
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } _resultobj
= Py_BuildValue("i",_result
);
503 #define wxNotebook_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
504 static PyObject
*_wrap_wxNotebook_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
507 bool _arg1
= (bool ) TRUE
;
508 PyObject
* _argo0
= 0;
509 int tempbool1
= (int) TRUE
;
510 char *_kwnames
[] = { "self","bForward", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxNotebook_AdvanceSelection",_kwnames
,&_argo0
,&tempbool1
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AdvanceSelection. Expected _wxNotebook_p.");
522 _arg1
= (bool ) tempbool1
;
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 wxNotebook_AdvanceSelection(_arg0
,_arg1
);
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } Py_INCREF(Py_None
);
530 _resultobj
= Py_None
;
534 #define wxNotebook_GetSelection(_swigobj) (_swigobj->GetSelection())
535 static PyObject
*_wrap_wxNotebook_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetSelection",_kwnames
,&_argo0
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetSelection. Expected _wxNotebook_p.");
553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
554 _result
= (int )wxNotebook_GetSelection(_arg0
);
556 wxPyEndAllowThreads(__tstate
);
557 if (PyErr_Occurred()) return NULL
;
558 } _resultobj
= Py_BuildValue("i",_result
);
562 #define wxNotebook_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
563 static PyObject
*_wrap_wxNotebook_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
569 PyObject
* _argo0
= 0;
570 PyObject
* _obj2
= 0;
571 char *_kwnames
[] = { "self","nPage","strText", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxNotebook_SetPageText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageText. Expected _wxNotebook_p.");
584 _arg2
= wxString_in_helper(_obj2
);
589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
590 _result
= (bool )wxNotebook_SetPageText(_arg0
,_arg1
,*_arg2
);
592 wxPyEndAllowThreads(__tstate
);
593 if (PyErr_Occurred()) return NULL
;
594 } _resultobj
= Py_BuildValue("i",_result
);
602 #define wxNotebook_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
603 static PyObject
*_wrap_wxNotebook_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self","nPage", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageText",_kwnames
,&_argo0
,&_arg1
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageText. Expected _wxNotebook_p.");
622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
623 _result
= new wxString (wxNotebook_GetPageText(_arg0
,_arg1
));
625 wxPyEndAllowThreads(__tstate
);
626 if (PyErr_Occurred()) return NULL
;
629 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
631 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
640 #define wxNotebook_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
641 static PyObject
*_wrap_wxNotebook_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
645 PyObject
* _argo0
= 0;
646 PyObject
* _argo1
= 0;
647 char *_kwnames
[] = { "self","imageList", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetImageList",_kwnames
,&_argo0
,&_argo1
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetImageList. Expected _wxNotebook_p.");
660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_SetImageList. Expected _wxImageList_p.");
667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
668 wxNotebook_SetImageList(_arg0
,_arg1
);
670 wxPyEndAllowThreads(__tstate
);
671 if (PyErr_Occurred()) return NULL
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxNotebook_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
678 static PyObject
*_wrap_wxNotebook_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 PyObject
* _argo1
= 0;
684 char *_kwnames
[] = { "self","imageList", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AssignImageList. Expected _wxNotebook_p.");
697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AssignImageList. Expected _wxImageList_p.");
704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
705 wxNotebook_AssignImageList(_arg0
,_arg1
);
707 wxPyEndAllowThreads(__tstate
);
708 if (PyErr_Occurred()) return NULL
;
709 } Py_INCREF(Py_None
);
710 _resultobj
= Py_None
;
714 #define wxNotebook_GetImageList(_swigobj) (_swigobj->GetImageList())
715 static PyObject
*_wrap_wxNotebook_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
717 wxImageList
* _result
;
719 PyObject
* _argo0
= 0;
720 char *_kwnames
[] = { "self", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetImageList",_kwnames
,&_argo0
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetImageList. Expected _wxNotebook_p.");
733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
734 _result
= (wxImageList
*)wxNotebook_GetImageList(_arg0
);
736 wxPyEndAllowThreads(__tstate
);
737 if (PyErr_Occurred()) return NULL
;
738 }{ _resultobj
= wxPyMake_wxObject(_result
); }
742 #define wxNotebook_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
743 static PyObject
*_wrap_wxNotebook_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self","nPage", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPageImage",_kwnames
,&_argo0
,&_arg1
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPageImage. Expected _wxNotebook_p.");
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= (int )wxNotebook_GetPageImage(_arg0
,_arg1
);
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
767 } _resultobj
= Py_BuildValue("i",_result
);
771 #define wxNotebook_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
772 static PyObject
*_wrap_wxNotebook_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
778 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self","nPage","nImage", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxNotebook_SetPageImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageImage. Expected _wxNotebook_p.");
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= (bool )wxNotebook_SetPageImage(_arg0
,_arg1
,_arg2
);
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
797 } _resultobj
= Py_BuildValue("i",_result
);
801 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
802 static PyObject
*_wrap_wxNotebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_GetRowCount",_kwnames
,&_argo0
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 _result
= (int )wxNotebook_GetRowCount(_arg0
);
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
825 } _resultobj
= Py_BuildValue("i",_result
);
829 #define wxNotebook_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
830 static PyObject
*_wrap_wxNotebook_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
834 PyObject
* _argo0
= 0;
836 PyObject
* _obj1
= 0;
837 char *_kwnames
[] = { "self","size", NULL
};
840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPageSize",_kwnames
,&_argo0
,&_obj1
))
843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPageSize. Expected _wxNotebook_p.");
851 if (! wxSize_helper(_obj1
, &_arg1
))
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 wxNotebook_SetPageSize(_arg0
,*_arg1
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
860 } Py_INCREF(Py_None
);
861 _resultobj
= Py_None
;
865 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
866 static PyObject
*_wrap_wxNotebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
870 PyObject
* _argo0
= 0;
872 PyObject
* _obj1
= 0;
873 char *_kwnames
[] = { "self","padding", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNotebook_SetPadding",_kwnames
,&_argo0
,&_obj1
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
887 if (! wxSize_helper(_obj1
, &_arg1
))
891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
892 wxNotebook_SetPadding(_arg0
,*_arg1
);
894 wxPyEndAllowThreads(__tstate
);
895 if (PyErr_Occurred()) return NULL
;
896 } Py_INCREF(Py_None
);
897 _resultobj
= Py_None
;
901 #define wxNotebook_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
902 static PyObject
*_wrap_wxNotebook_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self","nPage", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_DeletePage",_kwnames
,&_argo0
,&_arg1
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeletePage. Expected _wxNotebook_p.");
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (bool )wxNotebook_DeletePage(_arg0
,_arg1
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
926 } _resultobj
= Py_BuildValue("i",_result
);
930 #define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
931 static PyObject
*_wrap_wxNotebook_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "self","nPage", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_RemovePage",_kwnames
,&_argo0
,&_arg1
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 _result
= (bool )wxNotebook_RemovePage(_arg0
,_arg1
);
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) return NULL
;
955 } _resultobj
= Py_BuildValue("i",_result
);
959 #define wxNotebook_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
960 static PyObject
*_wrap_wxNotebook_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_DeleteAllPages",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_DeleteAllPages. Expected _wxNotebook_p.");
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 _result
= (bool )wxNotebook_DeleteAllPages(_arg0
);
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 #define wxNotebook_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
988 static PyObject
*_wrap_wxNotebook_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
994 int _arg3
= (int ) FALSE
;
995 int _arg4
= (int ) -1;
996 PyObject
* _argo0
= 0;
997 PyObject
* _argo1
= 0;
998 PyObject
* _obj2
= 0;
999 char *_kwnames
[] = { "self","pPage","strText","bSelect","imageId", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxNotebook_AddPage",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_AddPage. Expected _wxNotebook_p.");
1012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNotebook_AddPage. Expected _wxWindow_p.");
1019 _arg2
= wxString_in_helper(_obj2
);
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 _result
= (bool )wxNotebook_AddPage(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 } _resultobj
= Py_BuildValue("i",_result
);
1037 #define wxNotebook_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1038 static PyObject
*_wrap_wxNotebook_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1045 bool _arg4
= (bool ) FALSE
;
1046 int _arg5
= (int ) -1;
1047 PyObject
* _argo0
= 0;
1048 PyObject
* _argo2
= 0;
1049 PyObject
* _obj3
= 0;
1050 int tempbool4
= (int) FALSE
;
1051 char *_kwnames
[] = { "self","nPage","pPage","strText","bSelect","imageId", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|ii:wxNotebook_InsertPage",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&tempbool4
,&_arg5
))
1057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_InsertPage. Expected _wxNotebook_p.");
1064 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxNotebook_InsertPage. Expected _wxWindow_p.");
1071 _arg3
= wxString_in_helper(_obj3
);
1075 _arg4
= (bool ) tempbool4
;
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 _result
= (bool )wxNotebook_InsertPage(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) return NULL
;
1082 } _resultobj
= Py_BuildValue("i",_result
);
1090 #define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
1091 static PyObject
*_wrap_wxNotebook_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self","nPage", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNotebook_GetPage",_kwnames
,&_argo0
,&_arg1
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_GetPage. Expected _wxNotebook_p.");
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= (wxWindow
*)wxNotebook_GetPage(_arg0
,_arg1
);
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1115 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1119 static void wxNotebook_ResizeChildren(wxNotebook
*self
) {
1120 wxSizeEvent
evt(self
->GetClientSize());
1121 self
->GetEventHandler()->ProcessEvent(evt
);
1123 static PyObject
*_wrap_wxNotebook_ResizeChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebook_ResizeChildren",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 wxNotebook_ResizeChildren(_arg0
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) return NULL
;
1145 } Py_INCREF(Py_None
);
1146 _resultobj
= Py_None
;
1150 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr
) {
1151 wxSplitterEvent
*src
;
1152 wxCommandEvent
*dest
;
1153 src
= (wxSplitterEvent
*) ptr
;
1154 dest
= (wxCommandEvent
*) src
;
1155 return (void *) dest
;
1158 static void *SwigwxSplitterEventTowxEvent(void *ptr
) {
1159 wxSplitterEvent
*src
;
1161 src
= (wxSplitterEvent
*) ptr
;
1162 dest
= (wxEvent
*) src
;
1163 return (void *) dest
;
1166 static void *SwigwxSplitterEventTowxObject(void *ptr
) {
1167 wxSplitterEvent
*src
;
1169 src
= (wxSplitterEvent
*) ptr
;
1170 dest
= (wxObject
*) src
;
1171 return (void *) dest
;
1174 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
1175 static PyObject
*_wrap_new_wxSplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1177 wxSplitterEvent
* _result
;
1178 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
1179 wxSplitterWindow
* _arg1
= (wxSplitterWindow
*) NULL
;
1180 PyObject
* _argo1
= 0;
1181 char *_kwnames
[] = { "type","splitter", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iO:new_wxSplitterEvent",_kwnames
,&_arg0
,&_argo1
))
1188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSplitterWindow_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 _result
= (wxSplitterEvent
*)new_wxSplitterEvent(_arg0
,_arg1
);
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) return NULL
;
1201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterEvent_p");
1202 _resultobj
= Py_BuildValue("s",_ptemp
);
1205 _resultobj
= Py_None
;
1210 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
1211 static PyObject
*_wrap_wxSplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1214 wxSplitterEvent
* _arg0
;
1215 PyObject
* _argo0
= 0;
1216 char *_kwnames
[] = { "self", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetSashPosition",_kwnames
,&_argo0
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 _result
= (int )wxSplitterEvent_GetSashPosition(_arg0
);
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) return NULL
;
1234 } _resultobj
= Py_BuildValue("i",_result
);
1238 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
1239 static PyObject
*_wrap_wxSplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1242 wxSplitterEvent
* _arg0
;
1243 PyObject
* _argo0
= 0;
1244 char *_kwnames
[] = { "self", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetX",_kwnames
,&_argo0
))
1250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 _result
= (int )wxSplitterEvent_GetX(_arg0
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("i",_result
);
1266 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
1267 static PyObject
*_wrap_wxSplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1270 wxSplitterEvent
* _arg0
;
1271 PyObject
* _argo0
= 0;
1272 char *_kwnames
[] = { "self", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetY",_kwnames
,&_argo0
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 _result
= (int )wxSplitterEvent_GetY(_arg0
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) return NULL
;
1290 } _resultobj
= Py_BuildValue("i",_result
);
1294 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
1295 static PyObject
*_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 wxSplitterEvent
* _arg0
;
1299 PyObject
* _argo0
= 0;
1300 char *_kwnames
[] = { "self", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames
,&_argo0
))
1306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 _result
= (wxWindow
*)wxSplitterEvent_GetWindowBeingRemoved(_arg0
);
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) return NULL
;
1318 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1322 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
1323 static PyObject
*_wrap_wxSplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxSplitterEvent
* _arg0
;
1327 PyObject
* _argo0
= 0;
1328 char *_kwnames
[] = { "self","pos", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterEvent_SetSashPosition",_kwnames
,&_argo0
,&_arg1
))
1334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterEvent_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 wxSplitterEvent_SetSashPosition(_arg0
,_arg1
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) return NULL
;
1346 } Py_INCREF(Py_None
);
1347 _resultobj
= Py_None
;
1351 static void *SwigwxSplitterWindowTowxWindow(void *ptr
) {
1352 wxSplitterWindow
*src
;
1354 src
= (wxSplitterWindow
*) ptr
;
1355 dest
= (wxWindow
*) src
;
1356 return (void *) dest
;
1359 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr
) {
1360 wxSplitterWindow
*src
;
1362 src
= (wxSplitterWindow
*) ptr
;
1363 dest
= (wxEvtHandler
*) src
;
1364 return (void *) dest
;
1367 static void *SwigwxSplitterWindowTowxObject(void *ptr
) {
1368 wxSplitterWindow
*src
;
1370 src
= (wxSplitterWindow
*) ptr
;
1371 dest
= (wxObject
*) src
;
1372 return (void *) dest
;
1375 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1376 static PyObject
*_wrap_new_wxSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1378 wxSplitterWindow
* _result
;
1381 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1382 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1383 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1384 char * _arg5
= (char *) "splitterWindow";
1385 PyObject
* _argo0
= 0;
1387 PyObject
* _obj2
= 0;
1389 PyObject
* _obj3
= 0;
1390 char *_kwnames
[] = { "parent","id","point","size","style","name", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
1406 if (! wxPoint_helper(_obj2
, &_arg2
))
1412 if (! wxSize_helper(_obj3
, &_arg3
))
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 _result
= (wxSplitterWindow
*)new_wxSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1423 _resultobj
= Py_BuildValue("s",_ptemp
);
1426 _resultobj
= Py_None
;
1431 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
1432 static PyObject
*_wrap_new_wxPreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1434 wxSplitterWindow
* _result
;
1435 char *_kwnames
[] = { NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSplitterWindow",_kwnames
))
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 _result
= (wxSplitterWindow
*)new_wxPreSplitterWindow();
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterWindow_p");
1449 _resultobj
= Py_BuildValue("s",_ptemp
);
1452 _resultobj
= Py_None
;
1457 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1458 static PyObject
*_wrap_wxSplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1461 wxSplitterWindow
* _arg0
;
1464 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1465 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1466 long _arg5
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1467 char * _arg6
= (char *) "splitterWindow";
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo1
= 0;
1471 PyObject
* _obj3
= 0;
1473 PyObject
* _obj4
= 0;
1474 char *_kwnames
[] = { "self","parent","id","point","size","style","name", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxSplitterWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
1487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
1496 if (! wxPoint_helper(_obj3
, &_arg3
))
1502 if (! wxSize_helper(_obj4
, &_arg4
))
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 _result
= (bool )wxSplitterWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } _resultobj
= Py_BuildValue("i",_result
);
1515 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
1516 static PyObject
*_wrap_wxSplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1519 wxSplitterWindow
* _arg0
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow1",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (wxWindow
*)wxSplitterWindow_GetWindow1(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1543 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
1544 static PyObject
*_wrap_wxSplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1547 wxSplitterWindow
* _arg0
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetWindow2",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= (wxWindow
*)wxSplitterWindow_GetWindow2(_arg0
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1571 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
1572 static PyObject
*_wrap_wxSplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1574 wxSplitterWindow
* _arg0
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self","mode", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSplitMode",_kwnames
,&_argo0
,&_arg1
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 wxSplitterWindow_SetSplitMode(_arg0
,_arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
1601 static PyObject
*_wrap_wxSplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1604 wxSplitterWindow
* _arg0
;
1605 PyObject
* _argo0
= 0;
1606 char *_kwnames
[] = { "self", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSplitMode",_kwnames
,&_argo0
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 _result
= (int )wxSplitterWindow_GetSplitMode(_arg0
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) return NULL
;
1624 } _resultobj
= Py_BuildValue("i",_result
);
1628 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
1629 static PyObject
*_wrap_wxSplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxSplitterWindow
* _arg0
;
1633 PyObject
* _argo0
= 0;
1634 PyObject
* _argo1
= 0;
1635 char *_kwnames
[] = { "self","window", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSplitterWindow_Initialize",_kwnames
,&_argo0
,&_argo1
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
1648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 wxSplitterWindow_Initialize(_arg0
,_arg1
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
1666 static PyObject
*_wrap_wxSplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1669 wxSplitterWindow
* _arg0
;
1672 int _arg3
= (int ) 0;
1673 PyObject
* _argo0
= 0;
1674 PyObject
* _argo1
= 0;
1675 PyObject
* _argo2
= 0;
1676 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
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_SplitVertically. 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_SplitVertically. Expected _wxWindow_p.");
1696 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 _result
= (bool )wxSplitterWindow_SplitVertically(_arg0
,_arg1
,_arg2
,_arg3
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } _resultobj
= Py_BuildValue("i",_result
);
1712 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
1713 static PyObject
*_wrap_wxSplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1716 wxSplitterWindow
* _arg0
;
1719 int _arg3
= (int ) 0;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1722 PyObject
* _argo2
= 0;
1723 char *_kwnames
[] = { "self","window1","window2","sashPosition", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
1736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1743 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 _result
= (bool )wxSplitterWindow_SplitHorizontally(_arg0
,_arg1
,_arg2
,_arg3
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } _resultobj
= Py_BuildValue("i",_result
);
1759 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
1760 static PyObject
*_wrap_wxSplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxSplitterWindow
* _arg0
;
1764 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1765 PyObject
* _argo0
= 0;
1766 PyObject
* _argo1
= 0;
1767 char *_kwnames
[] = { "self","toRemove", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxSplitterWindow_Unsplit",_kwnames
,&_argo0
,&_argo1
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
1780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (bool )wxSplitterWindow_Unsplit(_arg0
,_arg1
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } _resultobj
= Py_BuildValue("i",_result
);
1796 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
1797 static PyObject
*_wrap_wxSplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 wxSplitterWindow
* _arg0
;
1803 PyObject
* _argo0
= 0;
1804 PyObject
* _argo1
= 0;
1805 PyObject
* _argo2
= 0;
1806 char *_kwnames
[] = { "self","winOld","winNew", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
1812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
1819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1826 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 _result
= (bool )wxSplitterWindow_ReplaceWindow(_arg0
,_arg1
,_arg2
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) return NULL
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
1843 static PyObject
*_wrap_wxSplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1846 wxSplitterWindow
* _arg0
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_IsSplit",_kwnames
,&_argo0
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 _result
= (bool )wxSplitterWindow_IsSplit(_arg0
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) return NULL
;
1866 } _resultobj
= Py_BuildValue("i",_result
);
1870 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
1871 static PyObject
*_wrap_wxSplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1873 wxSplitterWindow
* _arg0
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self","width", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetSashSize",_kwnames
,&_argo0
,&_arg1
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 wxSplitterWindow_SetSashSize(_arg0
,_arg1
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) return NULL
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1899 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
1900 static PyObject
*_wrap_wxSplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1902 wxSplitterWindow
* _arg0
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self","width", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetBorderSize",_kwnames
,&_argo0
,&_arg1
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 wxSplitterWindow_SetBorderSize(_arg0
,_arg1
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
1929 static PyObject
*_wrap_wxSplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1932 wxSplitterWindow
* _arg0
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashSize",_kwnames
,&_argo0
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 _result
= (int )wxSplitterWindow_GetSashSize(_arg0
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) return NULL
;
1952 } _resultobj
= Py_BuildValue("i",_result
);
1956 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
1957 static PyObject
*_wrap_wxSplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1960 wxSplitterWindow
* _arg0
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetBorderSize",_kwnames
,&_argo0
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 _result
= (int )wxSplitterWindow_GetBorderSize(_arg0
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
1985 static PyObject
*_wrap_wxSplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1987 wxSplitterWindow
* _arg0
;
1989 bool _arg2
= (bool ) TRUE
;
1990 PyObject
* _argo0
= 0;
1991 int tempbool2
= (int) TRUE
;
1992 char *_kwnames
[] = { "self","position","redraw", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2004 _arg2
= (bool ) tempbool2
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxSplitterWindow_SetSashPosition(_arg0
,_arg1
,_arg2
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } Py_INCREF(Py_None
);
2012 _resultobj
= Py_None
;
2016 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2017 static PyObject
*_wrap_wxSplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 wxSplitterWindow
* _arg0
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetSashPosition",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 _result
= (int )wxSplitterWindow_GetSashPosition(_arg0
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2045 static PyObject
*_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2047 wxSplitterWindow
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self","min", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames
,&_argo0
,&_arg1
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 wxSplitterWindow_SetMinimumPaneSize(_arg0
,_arg1
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) return NULL
;
2068 } Py_INCREF(Py_None
);
2069 _resultobj
= Py_None
;
2073 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2074 static PyObject
*_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 wxSplitterWindow
* _arg0
;
2078 PyObject
* _argo0
= 0;
2079 char *_kwnames
[] = { "self", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames
,&_argo0
))
2085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSplitterWindow_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 _result
= (int )wxSplitterWindow_GetMinimumPaneSize(_arg0
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) return NULL
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 static PyMethodDef windows2cMethods
[] = {
2102 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2103 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_wxSplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
2104 { "wxSplitterWindow_GetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2105 { "wxSplitterWindow_SetSashPosition", (PyCFunction
) _wrap_wxSplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2106 { "wxSplitterWindow_GetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2107 { "wxSplitterWindow_GetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2108 { "wxSplitterWindow_SetBorderSize", (PyCFunction
) _wrap_wxSplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
2109 { "wxSplitterWindow_SetSashSize", (PyCFunction
) _wrap_wxSplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
2110 { "wxSplitterWindow_IsSplit", (PyCFunction
) _wrap_wxSplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
2111 { "wxSplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_wxSplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
2112 { "wxSplitterWindow_Unsplit", (PyCFunction
) _wrap_wxSplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
2113 { "wxSplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_wxSplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
2114 { "wxSplitterWindow_SplitVertically", (PyCFunction
) _wrap_wxSplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
2115 { "wxSplitterWindow_Initialize", (PyCFunction
) _wrap_wxSplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
2116 { "wxSplitterWindow_GetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2117 { "wxSplitterWindow_SetSplitMode", (PyCFunction
) _wrap_wxSplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
2118 { "wxSplitterWindow_GetWindow2", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
2119 { "wxSplitterWindow_GetWindow1", (PyCFunction
) _wrap_wxSplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
2120 { "wxSplitterWindow_Create", (PyCFunction
) _wrap_wxSplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
2121 { "new_wxPreSplitterWindow", (PyCFunction
) _wrap_new_wxPreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2122 { "new_wxSplitterWindow", (PyCFunction
) _wrap_new_wxSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
2123 { "wxSplitterEvent_SetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2124 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_wxSplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
2125 { "wxSplitterEvent_GetY", (PyCFunction
) _wrap_wxSplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
2126 { "wxSplitterEvent_GetX", (PyCFunction
) _wrap_wxSplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
2127 { "wxSplitterEvent_GetSashPosition", (PyCFunction
) _wrap_wxSplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
2128 { "new_wxSplitterEvent", (PyCFunction
) _wrap_new_wxSplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
2129 { "wxNotebook_ResizeChildren", (PyCFunction
) _wrap_wxNotebook_ResizeChildren
, METH_VARARGS
| METH_KEYWORDS
},
2130 { "wxNotebook_GetPage", (PyCFunction
) _wrap_wxNotebook_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
2131 { "wxNotebook_InsertPage", (PyCFunction
) _wrap_wxNotebook_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
2132 { "wxNotebook_AddPage", (PyCFunction
) _wrap_wxNotebook_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
2133 { "wxNotebook_DeleteAllPages", (PyCFunction
) _wrap_wxNotebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
2134 { "wxNotebook_RemovePage", (PyCFunction
) _wrap_wxNotebook_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
2135 { "wxNotebook_DeletePage", (PyCFunction
) _wrap_wxNotebook_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
2136 { "wxNotebook_SetPadding", (PyCFunction
) _wrap_wxNotebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
2137 { "wxNotebook_SetPageSize", (PyCFunction
) _wrap_wxNotebook_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
2138 { "wxNotebook_GetRowCount", (PyCFunction
) _wrap_wxNotebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
2139 { "wxNotebook_SetPageImage", (PyCFunction
) _wrap_wxNotebook_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2140 { "wxNotebook_GetPageImage", (PyCFunction
) _wrap_wxNotebook_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
2141 { "wxNotebook_GetImageList", (PyCFunction
) _wrap_wxNotebook_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
2142 { "wxNotebook_AssignImageList", (PyCFunction
) _wrap_wxNotebook_AssignImageList
, 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 { "wxNotebook_Create", (PyCFunction
) _wrap_wxNotebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
2151 { "new_wxPreNotebook", (PyCFunction
) _wrap_new_wxPreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2152 { "new_wxNotebook", (PyCFunction
) _wrap_new_wxNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2153 { "wxNotebookEvent_SetSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2154 { "wxNotebookEvent_SetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2155 { "wxNotebookEvent_GetOldSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
2156 { "wxNotebookEvent_GetSelection", (PyCFunction
) _wrap_wxNotebookEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
2157 { "new_wxNotebookEvent", (PyCFunction
) _wrap_new_wxNotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
2164 * This table is used by the pointer type-checker
2166 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2167 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent
},
2168 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent
},
2169 { "_signed_long","_long",0},
2170 { "_wxPrintQuality","_wxCoord",0},
2171 { "_wxPrintQuality","_int",0},
2172 { "_wxPrintQuality","_signed_int",0},
2173 { "_wxPrintQuality","_unsigned_int",0},
2174 { "_wxPrintQuality","_wxWindowID",0},
2175 { "_wxPrintQuality","_uint",0},
2176 { "_wxPrintQuality","_EBool",0},
2177 { "_wxPrintQuality","_size_t",0},
2178 { "_wxPrintQuality","_time_t",0},
2179 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent
},
2180 { "_byte","_unsigned_char",0},
2181 { "_long","_unsigned_long",0},
2182 { "_long","_signed_long",0},
2183 { "_size_t","_wxCoord",0},
2184 { "_size_t","_wxPrintQuality",0},
2185 { "_size_t","_time_t",0},
2186 { "_size_t","_unsigned_int",0},
2187 { "_size_t","_int",0},
2188 { "_size_t","_wxWindowID",0},
2189 { "_size_t","_uint",0},
2190 { "_uint","_wxCoord",0},
2191 { "_uint","_wxPrintQuality",0},
2192 { "_uint","_time_t",0},
2193 { "_uint","_size_t",0},
2194 { "_uint","_unsigned_int",0},
2195 { "_uint","_int",0},
2196 { "_uint","_wxWindowID",0},
2197 { "_wxChar","_char",0},
2198 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent
},
2199 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent
},
2200 { "_char","_wxChar",0},
2201 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2202 { "_EBool","_wxCoord",0},
2203 { "_EBool","_wxPrintQuality",0},
2204 { "_EBool","_signed_int",0},
2205 { "_EBool","_int",0},
2206 { "_EBool","_wxWindowID",0},
2207 { "_unsigned_long","_long",0},
2208 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2209 { "_signed_int","_wxCoord",0},
2210 { "_signed_int","_wxPrintQuality",0},
2211 { "_signed_int","_EBool",0},
2212 { "_signed_int","_wxWindowID",0},
2213 { "_signed_int","_int",0},
2214 { "_WXTYPE","_short",0},
2215 { "_WXTYPE","_signed_short",0},
2216 { "_WXTYPE","_unsigned_short",0},
2217 { "_unsigned_short","_WXTYPE",0},
2218 { "_unsigned_short","_short",0},
2219 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject
},
2220 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject
},
2221 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject
},
2222 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject
},
2223 { "_signed_short","_WXTYPE",0},
2224 { "_signed_short","_short",0},
2225 { "_unsigned_char","_byte",0},
2226 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl
},
2227 { "_unsigned_int","_wxCoord",0},
2228 { "_unsigned_int","_wxPrintQuality",0},
2229 { "_unsigned_int","_time_t",0},
2230 { "_unsigned_int","_size_t",0},
2231 { "_unsigned_int","_uint",0},
2232 { "_unsigned_int","_wxWindowID",0},
2233 { "_unsigned_int","_int",0},
2234 { "_short","_WXTYPE",0},
2235 { "_short","_unsigned_short",0},
2236 { "_short","_signed_short",0},
2237 { "_wxWindowID","_wxCoord",0},
2238 { "_wxWindowID","_wxPrintQuality",0},
2239 { "_wxWindowID","_time_t",0},
2240 { "_wxWindowID","_size_t",0},
2241 { "_wxWindowID","_EBool",0},
2242 { "_wxWindowID","_uint",0},
2243 { "_wxWindowID","_int",0},
2244 { "_wxWindowID","_signed_int",0},
2245 { "_wxWindowID","_unsigned_int",0},
2246 { "_int","_wxCoord",0},
2247 { "_int","_wxPrintQuality",0},
2248 { "_int","_time_t",0},
2249 { "_int","_size_t",0},
2250 { "_int","_EBool",0},
2251 { "_int","_uint",0},
2252 { "_int","_wxWindowID",0},
2253 { "_int","_unsigned_int",0},
2254 { "_int","_signed_int",0},
2255 { "_time_t","_wxCoord",0},
2256 { "_time_t","_wxPrintQuality",0},
2257 { "_time_t","_unsigned_int",0},
2258 { "_time_t","_int",0},
2259 { "_time_t","_wxWindowID",0},
2260 { "_time_t","_uint",0},
2261 { "_time_t","_size_t",0},
2262 { "_wxCoord","_int",0},
2263 { "_wxCoord","_signed_int",0},
2264 { "_wxCoord","_unsigned_int",0},
2265 { "_wxCoord","_wxWindowID",0},
2266 { "_wxCoord","_uint",0},
2267 { "_wxCoord","_EBool",0},
2268 { "_wxCoord","_size_t",0},
2269 { "_wxCoord","_time_t",0},
2270 { "_wxCoord","_wxPrintQuality",0},
2271 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler
},
2272 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler
},
2273 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow
},
2274 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow
},
2277 static PyObject
*SWIG_globals
;
2281 SWIGEXPORT(void) initwindows2c() {
2283 SWIG_globals
= SWIG_newvarlink();
2284 m
= Py_InitModule("windows2c", windows2cMethods
);
2285 d
= PyModule_GetDict(m
);
2286 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
2287 PyDict_SetItemString(d
,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
2288 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
2289 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
2290 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT
));
2291 PyDict_SetItemString(d
,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
2292 PyDict_SetItemString(d
,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL
));
2293 PyDict_SetItemString(d
,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL
));
2294 PyDict_SetItemString(d
,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE
));
2295 PyDict_SetItemString(d
,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING
));
2296 PyDict_SetItemString(d
,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN
));
2299 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2300 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);