]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows2.cpp
Save the initial tstate during initialization
[wxWidgets.git] / wxPython / src / gtk / windows2.cpp
1 /*
2 * FILE : src/gtk/windows2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initwindows2c
54
55 #define SWIG_name "windows2c"
56
57 #include "helpers.h"
58 #include <wx/notebook.h>
59 #include <wx/listbook.h>
60 #include <wx/splitter.h>
61 #include <wx/imaglist.h>
62 #ifdef __WXMSW__
63 #include <wx/taskbar.h>
64 #endif
65
66 // Put some wx default wxChar* values into wxStrings.
67 DECLARE_DEF_STRING(NOTEBOOK_NAME);
68 DECLARE_DEF_STRING(PanelNameStr);
69 DECLARE_DEF_STRING(ControlNameStr);
70
71 static const wxChar* wxSplitterNameStr = wxT("splitter");
72 DECLARE_DEF_STRING(SplitterNameStr);
73 static const wxString wxPyEmptyString(wxT(""));
74
75
76 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
80 if (!target) {
81 target = o;
82 } else if (target == Py_None) {
83 Py_DECREF(Py_None);
84 target = o;
85 } else {
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
93
94 o2 = target;
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
97 Py_DECREF(o3);
98 }
99 return target;
100 }
101 // C++ version of Python aware wxWindow
102 class wxPyWindow : public wxWindow
103 {
104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
105 public:
106 wxPyWindow() : wxWindow() {}
107 wxPyWindow(wxWindow* parent, const wxWindowID id,
108 const wxPoint& pos = wxDefaultPosition,
109 const wxSize& size = wxDefaultSize,
110 long style = 0,
111 const wxString& name = wxPyPanelNameStr)
112 : wxWindow(parent, id, pos, size, style, name) {}
113
114
115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
116 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
119
120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
123
124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
126
127 DEC_PYCALLBACK__(InitDialog);
128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
130 DEC_PYCALLBACK_BOOL_(Validate);
131
132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
134 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
135
136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
138
139 PYPRIVATE;
140 };
141
142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
143
144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
148
149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
152
153 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
154 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
155
156 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
157 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
158 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
159 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
160
161 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
162 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
163 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
164
165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
167
168 // C++ version of Python aware wxControl
169 class wxPyControl : public wxControl
170 {
171 DECLARE_DYNAMIC_CLASS(wxPyControl)
172 public:
173 wxPyControl() : wxControl() {}
174 wxPyControl(wxWindow* parent, const wxWindowID id,
175 const wxPoint& pos = wxDefaultPosition,
176 const wxSize& size = wxDefaultSize,
177 long style = 0,
178 const wxValidator& validator=wxDefaultValidator,
179 const wxString& name = wxPyControlNameStr)
180 : wxControl(parent, id, pos, size, style, validator, name) {}
181
182
183 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
184 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
185 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
186 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
187
188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
189 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
190 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
191
192 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
193 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
194
195 DEC_PYCALLBACK__(InitDialog);
196 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
197 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
198 DEC_PYCALLBACK_BOOL_(Validate);
199
200 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
201 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
202 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
203
204 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
205 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
206
207 PYPRIVATE;
208 };
209
210 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
211
212 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
213 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
215 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
216
217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
220
221 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
222 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
223
224 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
225 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
226 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
227 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
228
229 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
230 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
231 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
232
233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
234 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
235
236 // C++ version of Python aware wxPanel
237 class wxPyPanel : public wxPanel
238 {
239 DECLARE_DYNAMIC_CLASS(wxPyPanel)
240 public:
241 wxPyPanel() : wxPanel() {}
242 wxPyPanel(wxWindow* parent, const wxWindowID id,
243 const wxPoint& pos = wxDefaultPosition,
244 const wxSize& size = wxDefaultSize,
245 long style = 0,
246 const wxString& name = wxPyPanelNameStr)
247 : wxPanel(parent, id, pos, size, style, name) {}
248
249
250 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
251 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
252 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
253 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
254
255 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
256 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
257 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
258
259 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
260 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
261
262 DEC_PYCALLBACK__(InitDialog);
263 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
264 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
265 DEC_PYCALLBACK_BOOL_(Validate);
266
267 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
268 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
269 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
270
271 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
272 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
273
274 PYPRIVATE;
275 };
276
277 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
278
279 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
280 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
281 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
282 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
283
284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
287
288 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
289 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
290
291 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
292 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
293 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
294 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
295
296 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
297 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
298 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
299
300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
302
303 #ifdef __cplusplus
304 extern "C" {
305 #endif
306 static void *SwigwxBookCtrlTowxControl(void *ptr) {
307 wxBookCtrl *src;
308 wxControl *dest;
309 src = (wxBookCtrl *) ptr;
310 dest = (wxControl *) src;
311 return (void *) dest;
312 }
313
314 static void *SwigwxBookCtrlTowxWindow(void *ptr) {
315 wxBookCtrl *src;
316 wxWindow *dest;
317 src = (wxBookCtrl *) ptr;
318 dest = (wxWindow *) src;
319 return (void *) dest;
320 }
321
322 static void *SwigwxBookCtrlTowxEvtHandler(void *ptr) {
323 wxBookCtrl *src;
324 wxEvtHandler *dest;
325 src = (wxBookCtrl *) ptr;
326 dest = (wxEvtHandler *) src;
327 return (void *) dest;
328 }
329
330 static void *SwigwxBookCtrlTowxObject(void *ptr) {
331 wxBookCtrl *src;
332 wxObject *dest;
333 src = (wxBookCtrl *) ptr;
334 dest = (wxObject *) src;
335 return (void *) dest;
336 }
337
338 #define wxBookCtrl_GetPageCount(_swigobj) (_swigobj->GetPageCount())
339 static PyObject *_wrap_wxBookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
340 PyObject * _resultobj;
341 size_t _result;
342 wxBookCtrl * _arg0;
343 PyObject * _argo0 = 0;
344 char *_kwnames[] = { "self", NULL };
345
346 self = self;
347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetPageCount",_kwnames,&_argo0))
348 return NULL;
349 if (_argo0) {
350 if (_argo0 == Py_None) { _arg0 = NULL; }
351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPageCount. Expected _wxBookCtrl_p.");
353 return NULL;
354 }
355 }
356 {
357 PyThreadState* __tstate = wxPyBeginAllowThreads();
358 _result = (size_t )wxBookCtrl_GetPageCount(_arg0);
359
360 wxPyEndAllowThreads(__tstate);
361 if (PyErr_Occurred()) return NULL;
362 } _resultobj = Py_BuildValue("i",_result);
363 return _resultobj;
364 }
365
366 #define wxBookCtrl_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
367 static PyObject *_wrap_wxBookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
368 PyObject * _resultobj;
369 wxWindow * _result;
370 wxBookCtrl * _arg0;
371 size_t _arg1;
372 PyObject * _argo0 = 0;
373 char *_kwnames[] = { "self","n", NULL };
374
375 self = self;
376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPage",_kwnames,&_argo0,&_arg1))
377 return NULL;
378 if (_argo0) {
379 if (_argo0 == Py_None) { _arg0 = NULL; }
380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPage. Expected _wxBookCtrl_p.");
382 return NULL;
383 }
384 }
385 {
386 PyThreadState* __tstate = wxPyBeginAllowThreads();
387 _result = (wxWindow *)wxBookCtrl_GetPage(_arg0,_arg1);
388
389 wxPyEndAllowThreads(__tstate);
390 if (PyErr_Occurred()) return NULL;
391 }{ _resultobj = wxPyMake_wxObject(_result); }
392 return _resultobj;
393 }
394
395 #define wxBookCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
396 static PyObject *_wrap_wxBookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
397 PyObject * _resultobj;
398 int _result;
399 wxBookCtrl * _arg0;
400 PyObject * _argo0 = 0;
401 char *_kwnames[] = { "self", NULL };
402
403 self = self;
404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetSelection",_kwnames,&_argo0))
405 return NULL;
406 if (_argo0) {
407 if (_argo0 == Py_None) { _arg0 = NULL; }
408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetSelection. Expected _wxBookCtrl_p.");
410 return NULL;
411 }
412 }
413 {
414 PyThreadState* __tstate = wxPyBeginAllowThreads();
415 _result = (int )wxBookCtrl_GetSelection(_arg0);
416
417 wxPyEndAllowThreads(__tstate);
418 if (PyErr_Occurred()) return NULL;
419 } _resultobj = Py_BuildValue("i",_result);
420 return _resultobj;
421 }
422
423 #define wxBookCtrl_SetPageText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageText(_swigarg0,_swigarg1))
424 static PyObject *_wrap_wxBookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
425 PyObject * _resultobj;
426 bool _result;
427 wxBookCtrl * _arg0;
428 size_t _arg1;
429 wxString * _arg2;
430 PyObject * _argo0 = 0;
431 PyObject * _obj2 = 0;
432 char *_kwnames[] = { "self","n","strText", NULL };
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxBookCtrl_SetPageText",_kwnames,&_argo0,&_arg1,&_obj2))
436 return NULL;
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetPageText. Expected _wxBookCtrl_p.");
441 return NULL;
442 }
443 }
444 {
445 _arg2 = wxString_in_helper(_obj2);
446 if (_arg2 == NULL)
447 return NULL;
448 }
449 {
450 PyThreadState* __tstate = wxPyBeginAllowThreads();
451 _result = (bool )wxBookCtrl_SetPageText(_arg0,_arg1,*_arg2);
452
453 wxPyEndAllowThreads(__tstate);
454 if (PyErr_Occurred()) return NULL;
455 } _resultobj = Py_BuildValue("i",_result);
456 {
457 if (_obj2)
458 delete _arg2;
459 }
460 return _resultobj;
461 }
462
463 #define wxBookCtrl_GetPageText(_swigobj,_swigarg0) (_swigobj->GetPageText(_swigarg0))
464 static PyObject *_wrap_wxBookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
465 PyObject * _resultobj;
466 wxString * _result;
467 wxBookCtrl * _arg0;
468 size_t _arg1;
469 PyObject * _argo0 = 0;
470 char *_kwnames[] = { "self","n", NULL };
471
472 self = self;
473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPageText",_kwnames,&_argo0,&_arg1))
474 return NULL;
475 if (_argo0) {
476 if (_argo0 == Py_None) { _arg0 = NULL; }
477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPageText. Expected _wxBookCtrl_p.");
479 return NULL;
480 }
481 }
482 {
483 PyThreadState* __tstate = wxPyBeginAllowThreads();
484 _result = new wxString (wxBookCtrl_GetPageText(_arg0,_arg1));
485
486 wxPyEndAllowThreads(__tstate);
487 if (PyErr_Occurred()) return NULL;
488 }{
489 #if wxUSE_UNICODE
490 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
491 #else
492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
493 #endif
494 }
495 {
496 delete _result;
497 }
498 return _resultobj;
499 }
500
501 #define wxBookCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
502 static PyObject *_wrap_wxBookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
503 PyObject * _resultobj;
504 wxBookCtrl * _arg0;
505 wxImageList * _arg1;
506 PyObject * _argo0 = 0;
507 PyObject * _argo1 = 0;
508 char *_kwnames[] = { "self","imageList", NULL };
509
510 self = self;
511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
512 return NULL;
513 if (_argo0) {
514 if (_argo0 == Py_None) { _arg0 = NULL; }
515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetImageList. Expected _wxBookCtrl_p.");
517 return NULL;
518 }
519 }
520 if (_argo1) {
521 if (_argo1 == Py_None) { _arg1 = NULL; }
522 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_SetImageList. Expected _wxImageList_p.");
524 return NULL;
525 }
526 }
527 {
528 PyThreadState* __tstate = wxPyBeginAllowThreads();
529 wxBookCtrl_SetImageList(_arg0,_arg1);
530
531 wxPyEndAllowThreads(__tstate);
532 if (PyErr_Occurred()) return NULL;
533 } Py_INCREF(Py_None);
534 _resultobj = Py_None;
535 return _resultobj;
536 }
537
538 #define wxBookCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
539 static PyObject *_wrap_wxBookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
540 PyObject * _resultobj;
541 wxBookCtrl * _arg0;
542 wxImageList * _arg1;
543 PyObject * _argo0 = 0;
544 PyObject * _argo1 = 0;
545 char *_kwnames[] = { "self","imageList", NULL };
546
547 self = self;
548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
549 return NULL;
550 if (_argo0) {
551 if (_argo0 == Py_None) { _arg0 = NULL; }
552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_AssignImageList. Expected _wxBookCtrl_p.");
554 return NULL;
555 }
556 }
557 if (_argo1) {
558 if (_argo1 == Py_None) { _arg1 = NULL; }
559 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
560 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_AssignImageList. Expected _wxImageList_p.");
561 return NULL;
562 }
563 }
564 {
565 PyThreadState* __tstate = wxPyBeginAllowThreads();
566 wxBookCtrl_AssignImageList(_arg0,_arg1);
567
568 wxPyEndAllowThreads(__tstate);
569 if (PyErr_Occurred()) return NULL;
570 } Py_INCREF(Py_None);
571 _resultobj = Py_None;
572 return _resultobj;
573 }
574
575 #define wxBookCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
576 static PyObject *_wrap_wxBookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
577 PyObject * _resultobj;
578 wxImageList * _result;
579 wxBookCtrl * _arg0;
580 PyObject * _argo0 = 0;
581 char *_kwnames[] = { "self", NULL };
582
583 self = self;
584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_GetImageList",_kwnames,&_argo0))
585 return NULL;
586 if (_argo0) {
587 if (_argo0 == Py_None) { _arg0 = NULL; }
588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetImageList. Expected _wxBookCtrl_p.");
590 return NULL;
591 }
592 }
593 {
594 PyThreadState* __tstate = wxPyBeginAllowThreads();
595 _result = (wxImageList *)wxBookCtrl_GetImageList(_arg0);
596
597 wxPyEndAllowThreads(__tstate);
598 if (PyErr_Occurred()) return NULL;
599 }{ _resultobj = wxPyMake_wxObject(_result); }
600 return _resultobj;
601 }
602
603 #define wxBookCtrl_GetPageImage(_swigobj,_swigarg0) (_swigobj->GetPageImage(_swigarg0))
604 static PyObject *_wrap_wxBookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
605 PyObject * _resultobj;
606 int _result;
607 wxBookCtrl * _arg0;
608 size_t _arg1;
609 PyObject * _argo0 = 0;
610 char *_kwnames[] = { "self","n", NULL };
611
612 self = self;
613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_GetPageImage",_kwnames,&_argo0,&_arg1))
614 return NULL;
615 if (_argo0) {
616 if (_argo0 == Py_None) { _arg0 = NULL; }
617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_GetPageImage. Expected _wxBookCtrl_p.");
619 return NULL;
620 }
621 }
622 {
623 PyThreadState* __tstate = wxPyBeginAllowThreads();
624 _result = (int )wxBookCtrl_GetPageImage(_arg0,_arg1);
625
626 wxPyEndAllowThreads(__tstate);
627 if (PyErr_Occurred()) return NULL;
628 } _resultobj = Py_BuildValue("i",_result);
629 return _resultobj;
630 }
631
632 #define wxBookCtrl_SetPageImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPageImage(_swigarg0,_swigarg1))
633 static PyObject *_wrap_wxBookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
634 PyObject * _resultobj;
635 bool _result;
636 wxBookCtrl * _arg0;
637 size_t _arg1;
638 int _arg2;
639 PyObject * _argo0 = 0;
640 char *_kwnames[] = { "self","n","imageId", NULL };
641
642 self = self;
643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBookCtrl_SetPageImage",_kwnames,&_argo0,&_arg1,&_arg2))
644 return NULL;
645 if (_argo0) {
646 if (_argo0 == Py_None) { _arg0 = NULL; }
647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetPageImage. Expected _wxBookCtrl_p.");
649 return NULL;
650 }
651 }
652 {
653 PyThreadState* __tstate = wxPyBeginAllowThreads();
654 _result = (bool )wxBookCtrl_SetPageImage(_arg0,_arg1,_arg2);
655
656 wxPyEndAllowThreads(__tstate);
657 if (PyErr_Occurred()) return NULL;
658 } _resultobj = Py_BuildValue("i",_result);
659 return _resultobj;
660 }
661
662 #define wxBookCtrl_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
663 static PyObject *_wrap_wxBookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
664 PyObject * _resultobj;
665 wxBookCtrl * _arg0;
666 wxSize * _arg1;
667 PyObject * _argo0 = 0;
668 wxSize temp;
669 PyObject * _obj1 = 0;
670 char *_kwnames[] = { "self","size", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_SetPageSize",_kwnames,&_argo0,&_obj1))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetPageSize. Expected _wxBookCtrl_p.");
679 return NULL;
680 }
681 }
682 {
683 _arg1 = &temp;
684 if (! wxSize_helper(_obj1, &_arg1))
685 return NULL;
686 }
687 {
688 PyThreadState* __tstate = wxPyBeginAllowThreads();
689 wxBookCtrl_SetPageSize(_arg0,*_arg1);
690
691 wxPyEndAllowThreads(__tstate);
692 if (PyErr_Occurred()) return NULL;
693 } Py_INCREF(Py_None);
694 _resultobj = Py_None;
695 return _resultobj;
696 }
697
698 #define wxBookCtrl_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
699 static PyObject *_wrap_wxBookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
700 PyObject * _resultobj;
701 wxSize * _result;
702 wxBookCtrl * _arg0;
703 wxSize * _arg1;
704 PyObject * _argo0 = 0;
705 wxSize temp;
706 PyObject * _obj1 = 0;
707 char *_kwnames[] = { "self","sizePage", NULL };
708 char _ptemp[128];
709
710 self = self;
711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBookCtrl_CalcSizeFromPage",_kwnames,&_argo0,&_obj1))
712 return NULL;
713 if (_argo0) {
714 if (_argo0 == Py_None) { _arg0 = NULL; }
715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_CalcSizeFromPage. Expected _wxBookCtrl_p.");
717 return NULL;
718 }
719 }
720 {
721 _arg1 = &temp;
722 if (! wxSize_helper(_obj1, &_arg1))
723 return NULL;
724 }
725 {
726 PyThreadState* __tstate = wxPyBeginAllowThreads();
727 _result = new wxSize (wxBookCtrl_CalcSizeFromPage(_arg0,*_arg1));
728
729 wxPyEndAllowThreads(__tstate);
730 if (PyErr_Occurred()) return NULL;
731 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
732 _resultobj = Py_BuildValue("s",_ptemp);
733 return _resultobj;
734 }
735
736 #define wxBookCtrl_DeletePage(_swigobj,_swigarg0) (_swigobj->DeletePage(_swigarg0))
737 static PyObject *_wrap_wxBookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject * _resultobj;
739 bool _result;
740 wxBookCtrl * _arg0;
741 size_t _arg1;
742 PyObject * _argo0 = 0;
743 char *_kwnames[] = { "self","n", NULL };
744
745 self = self;
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_DeletePage",_kwnames,&_argo0,&_arg1))
747 return NULL;
748 if (_argo0) {
749 if (_argo0 == Py_None) { _arg0 = NULL; }
750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_DeletePage. Expected _wxBookCtrl_p.");
752 return NULL;
753 }
754 }
755 {
756 PyThreadState* __tstate = wxPyBeginAllowThreads();
757 _result = (bool )wxBookCtrl_DeletePage(_arg0,_arg1);
758
759 wxPyEndAllowThreads(__tstate);
760 if (PyErr_Occurred()) return NULL;
761 } _resultobj = Py_BuildValue("i",_result);
762 return _resultobj;
763 }
764
765 #define wxBookCtrl_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
766 static PyObject *_wrap_wxBookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
767 PyObject * _resultobj;
768 bool _result;
769 wxBookCtrl * _arg0;
770 size_t _arg1;
771 PyObject * _argo0 = 0;
772 char *_kwnames[] = { "self","n", NULL };
773
774 self = self;
775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_RemovePage",_kwnames,&_argo0,&_arg1))
776 return NULL;
777 if (_argo0) {
778 if (_argo0 == Py_None) { _arg0 = NULL; }
779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_RemovePage. Expected _wxBookCtrl_p.");
781 return NULL;
782 }
783 }
784 {
785 PyThreadState* __tstate = wxPyBeginAllowThreads();
786 _result = (bool )wxBookCtrl_RemovePage(_arg0,_arg1);
787
788 wxPyEndAllowThreads(__tstate);
789 if (PyErr_Occurred()) return NULL;
790 } _resultobj = Py_BuildValue("i",_result);
791 return _resultobj;
792 }
793
794 #define wxBookCtrl_DeleteAllPages(_swigobj) (_swigobj->DeleteAllPages())
795 static PyObject *_wrap_wxBookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
796 PyObject * _resultobj;
797 bool _result;
798 wxBookCtrl * _arg0;
799 PyObject * _argo0 = 0;
800 char *_kwnames[] = { "self", NULL };
801
802 self = self;
803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrl_DeleteAllPages",_kwnames,&_argo0))
804 return NULL;
805 if (_argo0) {
806 if (_argo0 == Py_None) { _arg0 = NULL; }
807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_DeleteAllPages. Expected _wxBookCtrl_p.");
809 return NULL;
810 }
811 }
812 {
813 PyThreadState* __tstate = wxPyBeginAllowThreads();
814 _result = (bool )wxBookCtrl_DeleteAllPages(_arg0);
815
816 wxPyEndAllowThreads(__tstate);
817 if (PyErr_Occurred()) return NULL;
818 } _resultobj = Py_BuildValue("i",_result);
819 return _resultobj;
820 }
821
822 #define wxBookCtrl_AddPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
823 static PyObject *_wrap_wxBookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 bool _result;
826 wxBookCtrl * _arg0;
827 wxWindow * _arg1;
828 wxString * _arg2;
829 bool _arg3 = (bool ) false;
830 int _arg4 = (int ) -1;
831 PyObject * _argo0 = 0;
832 PyObject * _argo1 = 0;
833 PyObject * _obj2 = 0;
834 int tempbool3 = (int) false;
835 char *_kwnames[] = { "self","page","text","select","imageId", NULL };
836
837 self = self;
838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|ii:wxBookCtrl_AddPage",_kwnames,&_argo0,&_argo1,&_obj2,&tempbool3,&_arg4))
839 return NULL;
840 if (_argo0) {
841 if (_argo0 == Py_None) { _arg0 = NULL; }
842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_AddPage. Expected _wxBookCtrl_p.");
844 return NULL;
845 }
846 }
847 if (_argo1) {
848 if (_argo1 == Py_None) { _arg1 = NULL; }
849 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBookCtrl_AddPage. Expected _wxWindow_p.");
851 return NULL;
852 }
853 }
854 {
855 _arg2 = wxString_in_helper(_obj2);
856 if (_arg2 == NULL)
857 return NULL;
858 }
859 _arg3 = (bool ) tempbool3;
860 {
861 PyThreadState* __tstate = wxPyBeginAllowThreads();
862 _result = (bool )wxBookCtrl_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
863
864 wxPyEndAllowThreads(__tstate);
865 if (PyErr_Occurred()) return NULL;
866 } _resultobj = Py_BuildValue("i",_result);
867 {
868 if (_obj2)
869 delete _arg2;
870 }
871 return _resultobj;
872 }
873
874 #define wxBookCtrl_InsertPage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertPage(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
875 static PyObject *_wrap_wxBookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
876 PyObject * _resultobj;
877 bool _result;
878 wxBookCtrl * _arg0;
879 size_t _arg1;
880 wxWindow * _arg2;
881 wxString * _arg3;
882 bool _arg4 = (bool ) false;
883 int _arg5 = (int ) -1;
884 PyObject * _argo0 = 0;
885 PyObject * _argo2 = 0;
886 PyObject * _obj3 = 0;
887 int tempbool4 = (int) false;
888 char *_kwnames[] = { "self","n","page","text","select","imageId", NULL };
889
890 self = self;
891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|ii:wxBookCtrl_InsertPage",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&tempbool4,&_arg5))
892 return NULL;
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_InsertPage. Expected _wxBookCtrl_p.");
897 return NULL;
898 }
899 }
900 if (_argo2) {
901 if (_argo2 == Py_None) { _arg2 = NULL; }
902 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxBookCtrl_InsertPage. Expected _wxWindow_p.");
904 return NULL;
905 }
906 }
907 {
908 _arg3 = wxString_in_helper(_obj3);
909 if (_arg3 == NULL)
910 return NULL;
911 }
912 _arg4 = (bool ) tempbool4;
913 {
914 PyThreadState* __tstate = wxPyBeginAllowThreads();
915 _result = (bool )wxBookCtrl_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
916
917 wxPyEndAllowThreads(__tstate);
918 if (PyErr_Occurred()) return NULL;
919 } _resultobj = Py_BuildValue("i",_result);
920 {
921 if (_obj3)
922 delete _arg3;
923 }
924 return _resultobj;
925 }
926
927 #define wxBookCtrl_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
928 static PyObject *_wrap_wxBookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject * _resultobj;
930 int _result;
931 wxBookCtrl * _arg0;
932 size_t _arg1;
933 PyObject * _argo0 = 0;
934 char *_kwnames[] = { "self","n", NULL };
935
936 self = self;
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrl_SetSelection",_kwnames,&_argo0,&_arg1))
938 return NULL;
939 if (_argo0) {
940 if (_argo0 == Py_None) { _arg0 = NULL; }
941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_SetSelection. Expected _wxBookCtrl_p.");
943 return NULL;
944 }
945 }
946 {
947 PyThreadState* __tstate = wxPyBeginAllowThreads();
948 _result = (int )wxBookCtrl_SetSelection(_arg0,_arg1);
949
950 wxPyEndAllowThreads(__tstate);
951 if (PyErr_Occurred()) return NULL;
952 } _resultobj = Py_BuildValue("i",_result);
953 return _resultobj;
954 }
955
956 #define wxBookCtrl_AdvanceSelection(_swigobj,_swigarg0) (_swigobj->AdvanceSelection(_swigarg0))
957 static PyObject *_wrap_wxBookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
958 PyObject * _resultobj;
959 wxBookCtrl * _arg0;
960 bool _arg1 = (bool ) true;
961 PyObject * _argo0 = 0;
962 int tempbool1 = (int) true;
963 char *_kwnames[] = { "self","forward", NULL };
964
965 self = self;
966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxBookCtrl_AdvanceSelection",_kwnames,&_argo0,&tempbool1))
967 return NULL;
968 if (_argo0) {
969 if (_argo0 == Py_None) { _arg0 = NULL; }
970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrl_p")) {
971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrl_AdvanceSelection. Expected _wxBookCtrl_p.");
972 return NULL;
973 }
974 }
975 _arg1 = (bool ) tempbool1;
976 {
977 PyThreadState* __tstate = wxPyBeginAllowThreads();
978 wxBookCtrl_AdvanceSelection(_arg0,_arg1);
979
980 wxPyEndAllowThreads(__tstate);
981 if (PyErr_Occurred()) return NULL;
982 } Py_INCREF(Py_None);
983 _resultobj = Py_None;
984 return _resultobj;
985 }
986
987 static void *SwigwxBookCtrlEventTowxNotifyEvent(void *ptr) {
988 wxBookCtrlEvent *src;
989 wxNotifyEvent *dest;
990 src = (wxBookCtrlEvent *) ptr;
991 dest = (wxNotifyEvent *) src;
992 return (void *) dest;
993 }
994
995 static void *SwigwxBookCtrlEventTowxCommandEvent(void *ptr) {
996 wxBookCtrlEvent *src;
997 wxCommandEvent *dest;
998 src = (wxBookCtrlEvent *) ptr;
999 dest = (wxCommandEvent *) src;
1000 return (void *) dest;
1001 }
1002
1003 static void *SwigwxBookCtrlEventTowxEvent(void *ptr) {
1004 wxBookCtrlEvent *src;
1005 wxEvent *dest;
1006 src = (wxBookCtrlEvent *) ptr;
1007 dest = (wxEvent *) src;
1008 return (void *) dest;
1009 }
1010
1011 static void *SwigwxBookCtrlEventTowxObject(void *ptr) {
1012 wxBookCtrlEvent *src;
1013 wxObject *dest;
1014 src = (wxBookCtrlEvent *) ptr;
1015 dest = (wxObject *) src;
1016 return (void *) dest;
1017 }
1018
1019 #define new_wxBookCtrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxBookCtrlEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1020 static PyObject *_wrap_new_wxBookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1021 PyObject * _resultobj;
1022 wxBookCtrlEvent * _result;
1023 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
1024 int _arg1 = (int ) 0;
1025 int _arg2 = (int ) -1;
1026 int _arg3 = (int ) -1;
1027 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
1028 char _ptemp[128];
1029
1030 self = self;
1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxBookCtrlEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1032 return NULL;
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 _result = (wxBookCtrlEvent *)new_wxBookCtrlEvent(_arg0,_arg1,_arg2,_arg3);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) return NULL;
1039 } if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBookCtrlEvent_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
1046 return _resultobj;
1047 }
1048
1049 #define wxBookCtrlEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1050 static PyObject *_wrap_wxBookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject * _resultobj;
1052 int _result;
1053 wxBookCtrlEvent * _arg0;
1054 PyObject * _argo0 = 0;
1055 char *_kwnames[] = { "self", NULL };
1056
1057 self = self;
1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrlEvent_GetSelection",_kwnames,&_argo0))
1059 return NULL;
1060 if (_argo0) {
1061 if (_argo0 == Py_None) { _arg0 = NULL; }
1062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_GetSelection. Expected _wxBookCtrlEvent_p.");
1064 return NULL;
1065 }
1066 }
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 _result = (int )wxBookCtrlEvent_GetSelection(_arg0);
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) return NULL;
1073 } _resultobj = Py_BuildValue("i",_result);
1074 return _resultobj;
1075 }
1076
1077 #define wxBookCtrlEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1078 static PyObject *_wrap_wxBookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject * _resultobj;
1080 wxBookCtrlEvent * _arg0;
1081 int _arg1;
1082 PyObject * _argo0 = 0;
1083 char *_kwnames[] = { "self","nSel", NULL };
1084
1085 self = self;
1086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrlEvent_SetSelection",_kwnames,&_argo0,&_arg1))
1087 return NULL;
1088 if (_argo0) {
1089 if (_argo0 == Py_None) { _arg0 = NULL; }
1090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_SetSelection. Expected _wxBookCtrlEvent_p.");
1092 return NULL;
1093 }
1094 }
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 wxBookCtrlEvent_SetSelection(_arg0,_arg1);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) return NULL;
1101 } Py_INCREF(Py_None);
1102 _resultobj = Py_None;
1103 return _resultobj;
1104 }
1105
1106 #define wxBookCtrlEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1107 static PyObject *_wrap_wxBookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1108 PyObject * _resultobj;
1109 int _result;
1110 wxBookCtrlEvent * _arg0;
1111 PyObject * _argo0 = 0;
1112 char *_kwnames[] = { "self", NULL };
1113
1114 self = self;
1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBookCtrlEvent_GetOldSelection",_kwnames,&_argo0))
1116 return NULL;
1117 if (_argo0) {
1118 if (_argo0 == Py_None) { _arg0 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_GetOldSelection. Expected _wxBookCtrlEvent_p.");
1121 return NULL;
1122 }
1123 }
1124 {
1125 PyThreadState* __tstate = wxPyBeginAllowThreads();
1126 _result = (int )wxBookCtrlEvent_GetOldSelection(_arg0);
1127
1128 wxPyEndAllowThreads(__tstate);
1129 if (PyErr_Occurred()) return NULL;
1130 } _resultobj = Py_BuildValue("i",_result);
1131 return _resultobj;
1132 }
1133
1134 #define wxBookCtrlEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1135 static PyObject *_wrap_wxBookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject * _resultobj;
1137 wxBookCtrlEvent * _arg0;
1138 int _arg1;
1139 PyObject * _argo0 = 0;
1140 char *_kwnames[] = { "self","nOldSel", NULL };
1141
1142 self = self;
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxBookCtrlEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
1144 return NULL;
1145 if (_argo0) {
1146 if (_argo0 == Py_None) { _arg0 = NULL; }
1147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBookCtrlEvent_p")) {
1148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBookCtrlEvent_SetOldSelection. Expected _wxBookCtrlEvent_p.");
1149 return NULL;
1150 }
1151 }
1152 {
1153 PyThreadState* __tstate = wxPyBeginAllowThreads();
1154 wxBookCtrlEvent_SetOldSelection(_arg0,_arg1);
1155
1156 wxPyEndAllowThreads(__tstate);
1157 if (PyErr_Occurred()) return NULL;
1158 } Py_INCREF(Py_None);
1159 _resultobj = Py_None;
1160 return _resultobj;
1161 }
1162
1163 static void *SwigwxNotebookTowxBookCtrl(void *ptr) {
1164 wxNotebook *src;
1165 wxBookCtrl *dest;
1166 src = (wxNotebook *) ptr;
1167 dest = (wxBookCtrl *) src;
1168 return (void *) dest;
1169 }
1170
1171 static void *SwigwxNotebookTowxControl(void *ptr) {
1172 wxNotebook *src;
1173 wxControl *dest;
1174 src = (wxNotebook *) ptr;
1175 dest = (wxControl *) src;
1176 return (void *) dest;
1177 }
1178
1179 static void *SwigwxNotebookTowxWindow(void *ptr) {
1180 wxNotebook *src;
1181 wxWindow *dest;
1182 src = (wxNotebook *) ptr;
1183 dest = (wxWindow *) src;
1184 return (void *) dest;
1185 }
1186
1187 static void *SwigwxNotebookTowxEvtHandler(void *ptr) {
1188 wxNotebook *src;
1189 wxEvtHandler *dest;
1190 src = (wxNotebook *) ptr;
1191 dest = (wxEvtHandler *) src;
1192 return (void *) dest;
1193 }
1194
1195 static void *SwigwxNotebookTowxObject(void *ptr) {
1196 wxNotebook *src;
1197 wxObject *dest;
1198 src = (wxNotebook *) ptr;
1199 dest = (wxObject *) src;
1200 return (void *) dest;
1201 }
1202
1203 #define new_wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxNotebook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1204 static PyObject *_wrap_new_wxNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
1205 PyObject * _resultobj;
1206 wxNotebook * _result;
1207 wxWindow * _arg0;
1208 wxWindowID _arg1;
1209 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1210 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1211 long _arg4 = (long ) 0;
1212 wxString * _arg5 = (wxString *) &wxPyNOTEBOOK_NAME;
1213 PyObject * _argo0 = 0;
1214 wxPoint temp;
1215 PyObject * _obj2 = 0;
1216 wxSize temp0;
1217 PyObject * _obj3 = 0;
1218 PyObject * _obj5 = 0;
1219 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1220 char _ptemp[128];
1221
1222 self = self;
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxNotebook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1224 return NULL;
1225 if (_argo0) {
1226 if (_argo0 == Py_None) { _arg0 = NULL; }
1227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebook. Expected _wxWindow_p.");
1229 return NULL;
1230 }
1231 }
1232 if (_obj2)
1233 {
1234 _arg2 = &temp;
1235 if (! wxPoint_helper(_obj2, &_arg2))
1236 return NULL;
1237 }
1238 if (_obj3)
1239 {
1240 _arg3 = &temp0;
1241 if (! wxSize_helper(_obj3, &_arg3))
1242 return NULL;
1243 }
1244 if (_obj5)
1245 {
1246 _arg5 = wxString_in_helper(_obj5);
1247 if (_arg5 == NULL)
1248 return NULL;
1249 }
1250 {
1251 PyThreadState* __tstate = wxPyBeginAllowThreads();
1252 _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1253
1254 wxPyEndAllowThreads(__tstate);
1255 if (PyErr_Occurred()) return NULL;
1256 } if (_result) {
1257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
1258 _resultobj = Py_BuildValue("s",_ptemp);
1259 } else {
1260 Py_INCREF(Py_None);
1261 _resultobj = Py_None;
1262 }
1263 {
1264 if (_obj5)
1265 delete _arg5;
1266 }
1267 return _resultobj;
1268 }
1269
1270 #define new_wxPreNotebook() (new wxNotebook())
1271 static PyObject *_wrap_new_wxPreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 wxNotebook * _result;
1274 char *_kwnames[] = { NULL };
1275 char _ptemp[128];
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreNotebook",_kwnames))
1279 return NULL;
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 _result = (wxNotebook *)new_wxPreNotebook();
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) return NULL;
1286 } if (_result) {
1287 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
1288 _resultobj = Py_BuildValue("s",_ptemp);
1289 } else {
1290 Py_INCREF(Py_None);
1291 _resultobj = Py_None;
1292 }
1293 return _resultobj;
1294 }
1295
1296 #define wxNotebook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1297 static PyObject *_wrap_wxNotebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject * _resultobj;
1299 bool _result;
1300 wxNotebook * _arg0;
1301 wxWindow * _arg1;
1302 wxWindowID _arg2;
1303 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1304 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1305 long _arg5 = (long ) 0;
1306 wxString * _arg6 = (wxString *) &wxPyNOTEBOOK_NAME;
1307 PyObject * _argo0 = 0;
1308 PyObject * _argo1 = 0;
1309 wxPoint temp;
1310 PyObject * _obj3 = 0;
1311 wxSize temp0;
1312 PyObject * _obj4 = 0;
1313 PyObject * _obj6 = 0;
1314 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1315
1316 self = self;
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxNotebook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1318 return NULL;
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_Create. Expected _wxNotebook_p.");
1323 return NULL;
1324 }
1325 }
1326 if (_argo1) {
1327 if (_argo1 == Py_None) { _arg1 = NULL; }
1328 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1329 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxNotebook_Create. Expected _wxWindow_p.");
1330 return NULL;
1331 }
1332 }
1333 if (_obj3)
1334 {
1335 _arg3 = &temp;
1336 if (! wxPoint_helper(_obj3, &_arg3))
1337 return NULL;
1338 }
1339 if (_obj4)
1340 {
1341 _arg4 = &temp0;
1342 if (! wxSize_helper(_obj4, &_arg4))
1343 return NULL;
1344 }
1345 if (_obj6)
1346 {
1347 _arg6 = wxString_in_helper(_obj6);
1348 if (_arg6 == NULL)
1349 return NULL;
1350 }
1351 {
1352 PyThreadState* __tstate = wxPyBeginAllowThreads();
1353 _result = (bool )wxNotebook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1354
1355 wxPyEndAllowThreads(__tstate);
1356 if (PyErr_Occurred()) return NULL;
1357 } _resultobj = Py_BuildValue("i",_result);
1358 {
1359 if (_obj6)
1360 delete _arg6;
1361 }
1362 return _resultobj;
1363 }
1364
1365 #define wxNotebook_GetRowCount(_swigobj) (_swigobj->GetRowCount())
1366 static PyObject *_wrap_wxNotebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject * _resultobj;
1368 int _result;
1369 wxNotebook * _arg0;
1370 PyObject * _argo0 = 0;
1371 char *_kwnames[] = { "self", NULL };
1372
1373 self = self;
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebook_GetRowCount",_kwnames,&_argo0))
1375 return NULL;
1376 if (_argo0) {
1377 if (_argo0 == Py_None) { _arg0 = NULL; }
1378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_GetRowCount. Expected _wxNotebook_p.");
1380 return NULL;
1381 }
1382 }
1383 {
1384 PyThreadState* __tstate = wxPyBeginAllowThreads();
1385 _result = (int )wxNotebook_GetRowCount(_arg0);
1386
1387 wxPyEndAllowThreads(__tstate);
1388 if (PyErr_Occurred()) return NULL;
1389 } _resultobj = Py_BuildValue("i",_result);
1390 return _resultobj;
1391 }
1392
1393 #define wxNotebook_SetPadding(_swigobj,_swigarg0) (_swigobj->SetPadding(_swigarg0))
1394 static PyObject *_wrap_wxNotebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject * _resultobj;
1396 wxNotebook * _arg0;
1397 wxSize * _arg1;
1398 PyObject * _argo0 = 0;
1399 wxSize temp;
1400 PyObject * _obj1 = 0;
1401 char *_kwnames[] = { "self","padding", NULL };
1402
1403 self = self;
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetPadding",_kwnames,&_argo0,&_obj1))
1405 return NULL;
1406 if (_argo0) {
1407 if (_argo0 == Py_None) { _arg0 = NULL; }
1408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetPadding. Expected _wxNotebook_p.");
1410 return NULL;
1411 }
1412 }
1413 {
1414 _arg1 = &temp;
1415 if (! wxSize_helper(_obj1, &_arg1))
1416 return NULL;
1417 }
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 wxNotebook_SetPadding(_arg0,*_arg1);
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) return NULL;
1424 } Py_INCREF(Py_None);
1425 _resultobj = Py_None;
1426 return _resultobj;
1427 }
1428
1429 #define wxNotebook_SetTabSize(_swigobj,_swigarg0) (_swigobj->SetTabSize(_swigarg0))
1430 static PyObject *_wrap_wxNotebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject * _resultobj;
1432 wxNotebook * _arg0;
1433 wxSize * _arg1;
1434 PyObject * _argo0 = 0;
1435 wxSize temp;
1436 PyObject * _obj1 = 0;
1437 char *_kwnames[] = { "self","sz", NULL };
1438
1439 self = self;
1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_SetTabSize",_kwnames,&_argo0,&_obj1))
1441 return NULL;
1442 if (_argo0) {
1443 if (_argo0 == Py_None) { _arg0 = NULL; }
1444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_SetTabSize. Expected _wxNotebook_p.");
1446 return NULL;
1447 }
1448 }
1449 {
1450 _arg1 = &temp;
1451 if (! wxSize_helper(_obj1, &_arg1))
1452 return NULL;
1453 }
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 wxNotebook_SetTabSize(_arg0,*_arg1);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) return NULL;
1460 } Py_INCREF(Py_None);
1461 _resultobj = Py_None;
1462 return _resultobj;
1463 }
1464
1465 #define wxNotebook_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1466 static PyObject *_wrap_wxNotebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject * _resultobj;
1468 int _result;
1469 wxNotebook * _arg0;
1470 wxPoint * _arg1;
1471 long * _arg2;
1472 long temp;
1473 PyObject * _argo0 = 0;
1474 wxPoint temp0;
1475 PyObject * _obj1 = 0;
1476 char *_kwnames[] = { "self","pt", NULL };
1477
1478 self = self;
1479 {
1480 _arg2 = &temp;
1481 }
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_HitTest",_kwnames,&_argo0,&_obj1))
1483 return NULL;
1484 if (_argo0) {
1485 if (_argo0 == Py_None) { _arg0 = NULL; }
1486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_HitTest. Expected _wxNotebook_p.");
1488 return NULL;
1489 }
1490 }
1491 {
1492 _arg1 = &temp0;
1493 if (! wxPoint_helper(_obj1, &_arg1))
1494 return NULL;
1495 }
1496 {
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 _result = (int )wxNotebook_HitTest(_arg0,*_arg1,_arg2);
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) return NULL;
1502 } _resultobj = Py_BuildValue("i",_result);
1503 {
1504 PyObject *o;
1505 o = PyInt_FromLong((long) (*_arg2));
1506 _resultobj = t_output_helper(_resultobj, o);
1507 }
1508 return _resultobj;
1509 }
1510
1511 #define wxNotebook_CalcSizeFromPage(_swigobj,_swigarg0) (_swigobj->CalcSizeFromPage(_swigarg0))
1512 static PyObject *_wrap_wxNotebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject * _resultobj;
1514 wxSize * _result;
1515 wxNotebook * _arg0;
1516 wxSize * _arg1;
1517 PyObject * _argo0 = 0;
1518 wxSize temp;
1519 PyObject * _obj1 = 0;
1520 char *_kwnames[] = { "self","sizePage", NULL };
1521 char _ptemp[128];
1522
1523 self = self;
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxNotebook_CalcSizeFromPage",_kwnames,&_argo0,&_obj1))
1525 return NULL;
1526 if (_argo0) {
1527 if (_argo0 == Py_None) { _arg0 = NULL; }
1528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
1529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_CalcSizeFromPage. Expected _wxNotebook_p.");
1530 return NULL;
1531 }
1532 }
1533 {
1534 _arg1 = &temp;
1535 if (! wxSize_helper(_obj1, &_arg1))
1536 return NULL;
1537 }
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 _result = new wxSize (wxNotebook_CalcSizeFromPage(_arg0,*_arg1));
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) return NULL;
1544 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1545 _resultobj = Py_BuildValue("s",_ptemp);
1546 return _resultobj;
1547 }
1548
1549 static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
1550 wxNotebookEvent *src;
1551 wxNotifyEvent *dest;
1552 src = (wxNotebookEvent *) ptr;
1553 dest = (wxNotifyEvent *) src;
1554 return (void *) dest;
1555 }
1556
1557 static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
1558 wxNotebookEvent *src;
1559 wxCommandEvent *dest;
1560 src = (wxNotebookEvent *) ptr;
1561 dest = (wxCommandEvent *) src;
1562 return (void *) dest;
1563 }
1564
1565 static void *SwigwxNotebookEventTowxEvent(void *ptr) {
1566 wxNotebookEvent *src;
1567 wxEvent *dest;
1568 src = (wxNotebookEvent *) ptr;
1569 dest = (wxEvent *) src;
1570 return (void *) dest;
1571 }
1572
1573 static void *SwigwxNotebookEventTowxObject(void *ptr) {
1574 wxNotebookEvent *src;
1575 wxObject *dest;
1576 src = (wxNotebookEvent *) ptr;
1577 dest = (wxObject *) src;
1578 return (void *) dest;
1579 }
1580
1581 #define new_wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxNotebookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1582 static PyObject *_wrap_new_wxNotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1583 PyObject * _resultobj;
1584 wxNotebookEvent * _result;
1585 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
1586 int _arg1 = (int ) 0;
1587 int _arg2 = (int ) -1;
1588 int _arg3 = (int ) -1;
1589 char *_kwnames[] = { "commandType","id","sel","oldSel", NULL };
1590 char _ptemp[128];
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxNotebookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
1594 return NULL;
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 _result = (wxNotebookEvent *)new_wxNotebookEvent(_arg0,_arg1,_arg2,_arg3);
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) return NULL;
1601 } if (_result) {
1602 SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookEvent_p");
1603 _resultobj = Py_BuildValue("s",_ptemp);
1604 } else {
1605 Py_INCREF(Py_None);
1606 _resultobj = Py_None;
1607 }
1608 return _resultobj;
1609 }
1610
1611 #define wxNotebookEvent_GetSelection(_swigobj) (_swigobj->GetSelection())
1612 static PyObject *_wrap_wxNotebookEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject * _resultobj;
1614 int _result;
1615 wxNotebookEvent * _arg0;
1616 PyObject * _argo0 = 0;
1617 char *_kwnames[] = { "self", NULL };
1618
1619 self = self;
1620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetSelection",_kwnames,&_argo0))
1621 return NULL;
1622 if (_argo0) {
1623 if (_argo0 == Py_None) { _arg0 = NULL; }
1624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetSelection. Expected _wxNotebookEvent_p.");
1626 return NULL;
1627 }
1628 }
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 _result = (int )wxNotebookEvent_GetSelection(_arg0);
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) return NULL;
1635 } _resultobj = Py_BuildValue("i",_result);
1636 return _resultobj;
1637 }
1638
1639 #define wxNotebookEvent_GetOldSelection(_swigobj) (_swigobj->GetOldSelection())
1640 static PyObject *_wrap_wxNotebookEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1641 PyObject * _resultobj;
1642 int _result;
1643 wxNotebookEvent * _arg0;
1644 PyObject * _argo0 = 0;
1645 char *_kwnames[] = { "self", NULL };
1646
1647 self = self;
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookEvent_GetOldSelection",_kwnames,&_argo0))
1649 return NULL;
1650 if (_argo0) {
1651 if (_argo0 == Py_None) { _arg0 = NULL; }
1652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_GetOldSelection. Expected _wxNotebookEvent_p.");
1654 return NULL;
1655 }
1656 }
1657 {
1658 PyThreadState* __tstate = wxPyBeginAllowThreads();
1659 _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
1660
1661 wxPyEndAllowThreads(__tstate);
1662 if (PyErr_Occurred()) return NULL;
1663 } _resultobj = Py_BuildValue("i",_result);
1664 return _resultobj;
1665 }
1666
1667 #define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
1668 static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject * _resultobj;
1670 wxNotebookEvent * _arg0;
1671 int _arg1;
1672 PyObject * _argo0 = 0;
1673 char *_kwnames[] = { "self","page", NULL };
1674
1675 self = self;
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetOldSelection",_kwnames,&_argo0,&_arg1))
1677 return NULL;
1678 if (_argo0) {
1679 if (_argo0 == Py_None) { _arg0 = NULL; }
1680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
1682 return NULL;
1683 }
1684 }
1685 {
1686 PyThreadState* __tstate = wxPyBeginAllowThreads();
1687 wxNotebookEvent_SetOldSelection(_arg0,_arg1);
1688
1689 wxPyEndAllowThreads(__tstate);
1690 if (PyErr_Occurred()) return NULL;
1691 } Py_INCREF(Py_None);
1692 _resultobj = Py_None;
1693 return _resultobj;
1694 }
1695
1696 #define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1697 static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1698 PyObject * _resultobj;
1699 wxNotebookEvent * _arg0;
1700 int _arg1;
1701 PyObject * _argo0 = 0;
1702 char *_kwnames[] = { "self","page", NULL };
1703
1704 self = self;
1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxNotebookEvent_SetSelection",_kwnames,&_argo0,&_arg1))
1706 return NULL;
1707 if (_argo0) {
1708 if (_argo0 == Py_None) { _arg0 = NULL; }
1709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookEvent_p")) {
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
1711 return NULL;
1712 }
1713 }
1714 {
1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
1716 wxNotebookEvent_SetSelection(_arg0,_arg1);
1717
1718 wxPyEndAllowThreads(__tstate);
1719 if (PyErr_Occurred()) return NULL;
1720 } Py_INCREF(Py_None);
1721 _resultobj = Py_None;
1722 return _resultobj;
1723 }
1724
1725 static void *SwigwxListbookTowxBookCtrl(void *ptr) {
1726 wxListbook *src;
1727 wxBookCtrl *dest;
1728 src = (wxListbook *) ptr;
1729 dest = (wxBookCtrl *) src;
1730 return (void *) dest;
1731 }
1732
1733 static void *SwigwxListbookTowxControl(void *ptr) {
1734 wxListbook *src;
1735 wxControl *dest;
1736 src = (wxListbook *) ptr;
1737 dest = (wxControl *) src;
1738 return (void *) dest;
1739 }
1740
1741 static void *SwigwxListbookTowxWindow(void *ptr) {
1742 wxListbook *src;
1743 wxWindow *dest;
1744 src = (wxListbook *) ptr;
1745 dest = (wxWindow *) src;
1746 return (void *) dest;
1747 }
1748
1749 static void *SwigwxListbookTowxEvtHandler(void *ptr) {
1750 wxListbook *src;
1751 wxEvtHandler *dest;
1752 src = (wxListbook *) ptr;
1753 dest = (wxEvtHandler *) src;
1754 return (void *) dest;
1755 }
1756
1757 static void *SwigwxListbookTowxObject(void *ptr) {
1758 wxListbook *src;
1759 wxObject *dest;
1760 src = (wxListbook *) ptr;
1761 dest = (wxObject *) src;
1762 return (void *) dest;
1763 }
1764
1765 #define new_wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxListbook(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1766 static PyObject *_wrap_new_wxListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject * _resultobj;
1768 wxListbook * _result;
1769 wxWindow * _arg0;
1770 wxWindowID _arg1;
1771 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1772 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1773 long _arg4 = (long ) 0;
1774 wxString * _arg5 = (wxString *) &wxPyEmptyString;
1775 PyObject * _argo0 = 0;
1776 wxPoint temp;
1777 PyObject * _obj2 = 0;
1778 wxSize temp0;
1779 PyObject * _obj3 = 0;
1780 PyObject * _obj5 = 0;
1781 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1782 char _ptemp[128];
1783
1784 self = self;
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxListbook",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
1786 return NULL;
1787 if (_argo0) {
1788 if (_argo0 == Py_None) { _arg0 = NULL; }
1789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListbook. Expected _wxWindow_p.");
1791 return NULL;
1792 }
1793 }
1794 if (_obj2)
1795 {
1796 _arg2 = &temp;
1797 if (! wxPoint_helper(_obj2, &_arg2))
1798 return NULL;
1799 }
1800 if (_obj3)
1801 {
1802 _arg3 = &temp0;
1803 if (! wxSize_helper(_obj3, &_arg3))
1804 return NULL;
1805 }
1806 if (_obj5)
1807 {
1808 _arg5 = wxString_in_helper(_obj5);
1809 if (_arg5 == NULL)
1810 return NULL;
1811 }
1812 {
1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
1814 _result = (wxListbook *)new_wxListbook(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
1815
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) return NULL;
1818 } if (_result) {
1819 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListbook_p");
1820 _resultobj = Py_BuildValue("s",_ptemp);
1821 } else {
1822 Py_INCREF(Py_None);
1823 _resultobj = Py_None;
1824 }
1825 {
1826 if (_obj5)
1827 delete _arg5;
1828 }
1829 return _resultobj;
1830 }
1831
1832 #define new_wxPreListbook() (new wxListbook())
1833 static PyObject *_wrap_new_wxPreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
1834 PyObject * _resultobj;
1835 wxListbook * _result;
1836 char *_kwnames[] = { NULL };
1837 char _ptemp[128];
1838
1839 self = self;
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListbook",_kwnames))
1841 return NULL;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 _result = (wxListbook *)new_wxPreListbook();
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) return NULL;
1848 } if (_result) {
1849 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListbook_p");
1850 _resultobj = Py_BuildValue("s",_ptemp);
1851 } else {
1852 Py_INCREF(Py_None);
1853 _resultobj = Py_None;
1854 }
1855 return _resultobj;
1856 }
1857
1858 #define wxListbook_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1859 static PyObject *_wrap_wxListbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject * _resultobj;
1861 bool _result;
1862 wxListbook * _arg0;
1863 wxWindow * _arg1;
1864 wxWindowID _arg2;
1865 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1866 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1867 long _arg5 = (long ) 0;
1868 wxString * _arg6 = (wxString *) &wxPyEmptyString;
1869 PyObject * _argo0 = 0;
1870 PyObject * _argo1 = 0;
1871 wxPoint temp;
1872 PyObject * _obj3 = 0;
1873 wxSize temp0;
1874 PyObject * _obj4 = 0;
1875 PyObject * _obj6 = 0;
1876 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
1877
1878 self = self;
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxListbook_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
1880 return NULL;
1881 if (_argo0) {
1882 if (_argo0 == Py_None) { _arg0 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListbook_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListbook_Create. Expected _wxListbook_p.");
1885 return NULL;
1886 }
1887 }
1888 if (_argo1) {
1889 if (_argo1 == Py_None) { _arg1 = NULL; }
1890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListbook_Create. Expected _wxWindow_p.");
1892 return NULL;
1893 }
1894 }
1895 if (_obj3)
1896 {
1897 _arg3 = &temp;
1898 if (! wxPoint_helper(_obj3, &_arg3))
1899 return NULL;
1900 }
1901 if (_obj4)
1902 {
1903 _arg4 = &temp0;
1904 if (! wxSize_helper(_obj4, &_arg4))
1905 return NULL;
1906 }
1907 if (_obj6)
1908 {
1909 _arg6 = wxString_in_helper(_obj6);
1910 if (_arg6 == NULL)
1911 return NULL;
1912 }
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 _result = (bool )wxListbook_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) return NULL;
1919 } _resultobj = Py_BuildValue("i",_result);
1920 {
1921 if (_obj6)
1922 delete _arg6;
1923 }
1924 return _resultobj;
1925 }
1926
1927 #define wxListbook_IsVertical(_swigobj) (_swigobj->IsVertical())
1928 static PyObject *_wrap_wxListbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject * _resultobj;
1930 bool _result;
1931 wxListbook * _arg0;
1932 PyObject * _argo0 = 0;
1933 char *_kwnames[] = { "self", NULL };
1934
1935 self = self;
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListbook_IsVertical",_kwnames,&_argo0))
1937 return NULL;
1938 if (_argo0) {
1939 if (_argo0 == Py_None) { _arg0 = NULL; }
1940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListbook_p")) {
1941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListbook_IsVertical. Expected _wxListbook_p.");
1942 return NULL;
1943 }
1944 }
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 _result = (bool )wxListbook_IsVertical(_arg0);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) return NULL;
1951 } _resultobj = Py_BuildValue("i",_result);
1952 return _resultobj;
1953 }
1954
1955 static void *SwigwxListbookEventTowxBookCtrlEvent(void *ptr) {
1956 wxListbookEvent *src;
1957 wxBookCtrlEvent *dest;
1958 src = (wxListbookEvent *) ptr;
1959 dest = (wxBookCtrlEvent *) src;
1960 return (void *) dest;
1961 }
1962
1963 static void *SwigwxListbookEventTowxNotifyEvent(void *ptr) {
1964 wxListbookEvent *src;
1965 wxNotifyEvent *dest;
1966 src = (wxListbookEvent *) ptr;
1967 dest = (wxNotifyEvent *) src;
1968 return (void *) dest;
1969 }
1970
1971 static void *SwigwxListbookEventTowxCommandEvent(void *ptr) {
1972 wxListbookEvent *src;
1973 wxCommandEvent *dest;
1974 src = (wxListbookEvent *) ptr;
1975 dest = (wxCommandEvent *) src;
1976 return (void *) dest;
1977 }
1978
1979 static void *SwigwxListbookEventTowxEvent(void *ptr) {
1980 wxListbookEvent *src;
1981 wxEvent *dest;
1982 src = (wxListbookEvent *) ptr;
1983 dest = (wxEvent *) src;
1984 return (void *) dest;
1985 }
1986
1987 static void *SwigwxListbookEventTowxObject(void *ptr) {
1988 wxListbookEvent *src;
1989 wxObject *dest;
1990 src = (wxListbookEvent *) ptr;
1991 dest = (wxObject *) src;
1992 return (void *) dest;
1993 }
1994
1995 #define new_wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxListbookEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1996 static PyObject *_wrap_new_wxListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject * _resultobj;
1998 wxListbookEvent * _result;
1999 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2000 int _arg1 = (int ) 0;
2001 int _arg2 = (int ) -1;
2002 int _arg3 = (int ) -1;
2003 char *_kwnames[] = { "commandType","id","nSel","nOldSel", NULL };
2004 char _ptemp[128];
2005
2006 self = self;
2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxListbookEvent",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
2008 return NULL;
2009 {
2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
2011 _result = (wxListbookEvent *)new_wxListbookEvent(_arg0,_arg1,_arg2,_arg3);
2012
2013 wxPyEndAllowThreads(__tstate);
2014 if (PyErr_Occurred()) return NULL;
2015 } if (_result) {
2016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListbookEvent_p");
2017 _resultobj = Py_BuildValue("s",_ptemp);
2018 } else {
2019 Py_INCREF(Py_None);
2020 _resultobj = Py_None;
2021 }
2022 return _resultobj;
2023 }
2024
2025 static void *SwigwxSplitterEventTowxNotifyEvent(void *ptr) {
2026 wxSplitterEvent *src;
2027 wxNotifyEvent *dest;
2028 src = (wxSplitterEvent *) ptr;
2029 dest = (wxNotifyEvent *) src;
2030 return (void *) dest;
2031 }
2032
2033 static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
2034 wxSplitterEvent *src;
2035 wxCommandEvent *dest;
2036 src = (wxSplitterEvent *) ptr;
2037 dest = (wxCommandEvent *) src;
2038 return (void *) dest;
2039 }
2040
2041 static void *SwigwxSplitterEventTowxEvent(void *ptr) {
2042 wxSplitterEvent *src;
2043 wxEvent *dest;
2044 src = (wxSplitterEvent *) ptr;
2045 dest = (wxEvent *) src;
2046 return (void *) dest;
2047 }
2048
2049 static void *SwigwxSplitterEventTowxObject(void *ptr) {
2050 wxSplitterEvent *src;
2051 wxObject *dest;
2052 src = (wxSplitterEvent *) ptr;
2053 dest = (wxObject *) src;
2054 return (void *) dest;
2055 }
2056
2057 #define new_wxSplitterEvent(_swigarg0,_swigarg1) (new wxSplitterEvent(_swigarg0,_swigarg1))
2058 static PyObject *_wrap_new_wxSplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject * _resultobj;
2060 wxSplitterEvent * _result;
2061 wxEventType _arg0 = (wxEventType ) wxEVT_NULL;
2062 wxSplitterWindow * _arg1 = (wxSplitterWindow *) NULL;
2063 PyObject * _argo1 = 0;
2064 char *_kwnames[] = { "type","splitter", NULL };
2065 char _ptemp[128];
2066
2067 self = self;
2068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iO:new_wxSplitterEvent",_kwnames,&_arg0,&_argo1))
2069 return NULL;
2070 if (_argo1) {
2071 if (_argo1 == Py_None) { _arg1 = NULL; }
2072 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSplitterWindow_p")) {
2073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxSplitterEvent. Expected _wxSplitterWindow_p.");
2074 return NULL;
2075 }
2076 }
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 _result = (wxSplitterEvent *)new_wxSplitterEvent(_arg0,_arg1);
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) return NULL;
2083 } if (_result) {
2084 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterEvent_p");
2085 _resultobj = Py_BuildValue("s",_ptemp);
2086 } else {
2087 Py_INCREF(Py_None);
2088 _resultobj = Py_None;
2089 }
2090 return _resultobj;
2091 }
2092
2093 #define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2094 static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject * _resultobj;
2096 int _result;
2097 wxSplitterEvent * _arg0;
2098 PyObject * _argo0 = 0;
2099 char *_kwnames[] = { "self", NULL };
2100
2101 self = self;
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetSashPosition",_kwnames,&_argo0))
2103 return NULL;
2104 if (_argo0) {
2105 if (_argo0 == Py_None) { _arg0 = NULL; }
2106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
2108 return NULL;
2109 }
2110 }
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) return NULL;
2117 } _resultobj = Py_BuildValue("i",_result);
2118 return _resultobj;
2119 }
2120
2121 #define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
2122 static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject * _resultobj;
2124 int _result;
2125 wxSplitterEvent * _arg0;
2126 PyObject * _argo0 = 0;
2127 char *_kwnames[] = { "self", NULL };
2128
2129 self = self;
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetX",_kwnames,&_argo0))
2131 return NULL;
2132 if (_argo0) {
2133 if (_argo0 == Py_None) { _arg0 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
2136 return NULL;
2137 }
2138 }
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 _result = (int )wxSplitterEvent_GetX(_arg0);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) return NULL;
2145 } _resultobj = Py_BuildValue("i",_result);
2146 return _resultobj;
2147 }
2148
2149 #define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
2150 static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject * _resultobj;
2152 int _result;
2153 wxSplitterEvent * _arg0;
2154 PyObject * _argo0 = 0;
2155 char *_kwnames[] = { "self", NULL };
2156
2157 self = self;
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetY",_kwnames,&_argo0))
2159 return NULL;
2160 if (_argo0) {
2161 if (_argo0 == Py_None) { _arg0 = NULL; }
2162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
2164 return NULL;
2165 }
2166 }
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 _result = (int )wxSplitterEvent_GetY(_arg0);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) return NULL;
2173 } _resultobj = Py_BuildValue("i",_result);
2174 return _resultobj;
2175 }
2176
2177 #define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
2178 static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject * _resultobj;
2180 wxWindow * _result;
2181 wxSplitterEvent * _arg0;
2182 PyObject * _argo0 = 0;
2183 char *_kwnames[] = { "self", NULL };
2184
2185 self = self;
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterEvent_GetWindowBeingRemoved",_kwnames,&_argo0))
2187 return NULL;
2188 if (_argo0) {
2189 if (_argo0 == Py_None) { _arg0 = NULL; }
2190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
2192 return NULL;
2193 }
2194 }
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) return NULL;
2201 }{ _resultobj = wxPyMake_wxObject(_result); }
2202 return _resultobj;
2203 }
2204
2205 #define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
2206 static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2207 PyObject * _resultobj;
2208 wxSplitterEvent * _arg0;
2209 int _arg1;
2210 PyObject * _argo0 = 0;
2211 char *_kwnames[] = { "self","pos", NULL };
2212
2213 self = self;
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterEvent_SetSashPosition",_kwnames,&_argo0,&_arg1))
2215 return NULL;
2216 if (_argo0) {
2217 if (_argo0 == Py_None) { _arg0 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterEvent_p")) {
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
2220 return NULL;
2221 }
2222 }
2223 {
2224 PyThreadState* __tstate = wxPyBeginAllowThreads();
2225 wxSplitterEvent_SetSashPosition(_arg0,_arg1);
2226
2227 wxPyEndAllowThreads(__tstate);
2228 if (PyErr_Occurred()) return NULL;
2229 } Py_INCREF(Py_None);
2230 _resultobj = Py_None;
2231 return _resultobj;
2232 }
2233
2234 static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
2235 wxSplitterWindow *src;
2236 wxWindow *dest;
2237 src = (wxSplitterWindow *) ptr;
2238 dest = (wxWindow *) src;
2239 return (void *) dest;
2240 }
2241
2242 static void *SwigwxSplitterWindowTowxEvtHandler(void *ptr) {
2243 wxSplitterWindow *src;
2244 wxEvtHandler *dest;
2245 src = (wxSplitterWindow *) ptr;
2246 dest = (wxEvtHandler *) src;
2247 return (void *) dest;
2248 }
2249
2250 static void *SwigwxSplitterWindowTowxObject(void *ptr) {
2251 wxSplitterWindow *src;
2252 wxObject *dest;
2253 src = (wxSplitterWindow *) ptr;
2254 dest = (wxObject *) src;
2255 return (void *) dest;
2256 }
2257
2258 #define new_wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2259 static PyObject *_wrap_new_wxSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject * _resultobj;
2261 wxSplitterWindow * _result;
2262 wxWindow * _arg0;
2263 wxWindowID _arg1;
2264 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2265 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2266 long _arg4 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
2267 wxString * _arg5 = (wxString *) &wxPySplitterNameStr;
2268 PyObject * _argo0 = 0;
2269 wxPoint temp;
2270 PyObject * _obj2 = 0;
2271 wxSize temp0;
2272 PyObject * _obj3 = 0;
2273 PyObject * _obj5 = 0;
2274 char *_kwnames[] = { "parent","id","point","size","style","name", NULL };
2275 char _ptemp[128];
2276
2277 self = self;
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
2279 return NULL;
2280 if (_argo0) {
2281 if (_argo0 == Py_None) { _arg0 = NULL; }
2282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterWindow. Expected _wxWindow_p.");
2284 return NULL;
2285 }
2286 }
2287 if (_obj2)
2288 {
2289 _arg2 = &temp;
2290 if (! wxPoint_helper(_obj2, &_arg2))
2291 return NULL;
2292 }
2293 if (_obj3)
2294 {
2295 _arg3 = &temp0;
2296 if (! wxSize_helper(_obj3, &_arg3))
2297 return NULL;
2298 }
2299 if (_obj5)
2300 {
2301 _arg5 = wxString_in_helper(_obj5);
2302 if (_arg5 == NULL)
2303 return NULL;
2304 }
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) return NULL;
2311 } if (_result) {
2312 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
2313 _resultobj = Py_BuildValue("s",_ptemp);
2314 } else {
2315 Py_INCREF(Py_None);
2316 _resultobj = Py_None;
2317 }
2318 {
2319 if (_obj5)
2320 delete _arg5;
2321 }
2322 return _resultobj;
2323 }
2324
2325 #define new_wxPreSplitterWindow() (new wxSplitterWindow())
2326 static PyObject *_wrap_new_wxPreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject * _resultobj;
2328 wxSplitterWindow * _result;
2329 char *_kwnames[] = { NULL };
2330 char _ptemp[128];
2331
2332 self = self;
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSplitterWindow",_kwnames))
2334 return NULL;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 _result = (wxSplitterWindow *)new_wxPreSplitterWindow();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) return NULL;
2341 } if (_result) {
2342 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
2343 _resultobj = Py_BuildValue("s",_ptemp);
2344 } else {
2345 Py_INCREF(Py_None);
2346 _resultobj = Py_None;
2347 }
2348 return _resultobj;
2349 }
2350
2351 #define wxSplitterWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2352 static PyObject *_wrap_wxSplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject * _resultobj;
2354 bool _result;
2355 wxSplitterWindow * _arg0;
2356 wxWindow * _arg1;
2357 wxWindowID _arg2;
2358 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2359 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2360 long _arg5 = (long ) (wxSP_3D)|wxCLIP_CHILDREN;
2361 wxString * _arg6 = (wxString *) &wxPySplitterNameStr;
2362 PyObject * _argo0 = 0;
2363 PyObject * _argo1 = 0;
2364 wxPoint temp;
2365 PyObject * _obj3 = 0;
2366 wxSize temp0;
2367 PyObject * _obj4 = 0;
2368 PyObject * _obj6 = 0;
2369 char *_kwnames[] = { "self","parent","id","point","size","style","name", NULL };
2370
2371 self = self;
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxSplitterWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
2373 return NULL;
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Create. Expected _wxSplitterWindow_p.");
2378 return NULL;
2379 }
2380 }
2381 if (_argo1) {
2382 if (_argo1 == Py_None) { _arg1 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Create. Expected _wxWindow_p.");
2385 return NULL;
2386 }
2387 }
2388 if (_obj3)
2389 {
2390 _arg3 = &temp;
2391 if (! wxPoint_helper(_obj3, &_arg3))
2392 return NULL;
2393 }
2394 if (_obj4)
2395 {
2396 _arg4 = &temp0;
2397 if (! wxSize_helper(_obj4, &_arg4))
2398 return NULL;
2399 }
2400 if (_obj6)
2401 {
2402 _arg6 = wxString_in_helper(_obj6);
2403 if (_arg6 == NULL)
2404 return NULL;
2405 }
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 _result = (bool )wxSplitterWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) return NULL;
2412 } _resultobj = Py_BuildValue("i",_result);
2413 {
2414 if (_obj6)
2415 delete _arg6;
2416 }
2417 return _resultobj;
2418 }
2419
2420 #define wxSplitterWindow_GetWindow1(_swigobj) (_swigobj->GetWindow1())
2421 static PyObject *_wrap_wxSplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
2422 PyObject * _resultobj;
2423 wxWindow * _result;
2424 wxSplitterWindow * _arg0;
2425 PyObject * _argo0 = 0;
2426 char *_kwnames[] = { "self", NULL };
2427
2428 self = self;
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow1",_kwnames,&_argo0))
2430 return NULL;
2431 if (_argo0) {
2432 if (_argo0 == Py_None) { _arg0 = NULL; }
2433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow1. Expected _wxSplitterWindow_p.");
2435 return NULL;
2436 }
2437 }
2438 {
2439 PyThreadState* __tstate = wxPyBeginAllowThreads();
2440 _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
2441
2442 wxPyEndAllowThreads(__tstate);
2443 if (PyErr_Occurred()) return NULL;
2444 }{ _resultobj = wxPyMake_wxObject(_result); }
2445 return _resultobj;
2446 }
2447
2448 #define wxSplitterWindow_GetWindow2(_swigobj) (_swigobj->GetWindow2())
2449 static PyObject *_wrap_wxSplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject * _resultobj;
2451 wxWindow * _result;
2452 wxSplitterWindow * _arg0;
2453 PyObject * _argo0 = 0;
2454 char *_kwnames[] = { "self", NULL };
2455
2456 self = self;
2457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetWindow2",_kwnames,&_argo0))
2458 return NULL;
2459 if (_argo0) {
2460 if (_argo0 == Py_None) { _arg0 = NULL; }
2461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetWindow2. Expected _wxSplitterWindow_p.");
2463 return NULL;
2464 }
2465 }
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) return NULL;
2472 }{ _resultobj = wxPyMake_wxObject(_result); }
2473 return _resultobj;
2474 }
2475
2476 #define wxSplitterWindow_SetSplitMode(_swigobj,_swigarg0) (_swigobj->SetSplitMode(_swigarg0))
2477 static PyObject *_wrap_wxSplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject * _resultobj;
2479 wxSplitterWindow * _arg0;
2480 int _arg1;
2481 PyObject * _argo0 = 0;
2482 char *_kwnames[] = { "self","mode", NULL };
2483
2484 self = self;
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSplitMode",_kwnames,&_argo0,&_arg1))
2486 return NULL;
2487 if (_argo0) {
2488 if (_argo0 == Py_None) { _arg0 = NULL; }
2489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSplitMode. Expected _wxSplitterWindow_p.");
2491 return NULL;
2492 }
2493 }
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 wxSplitterWindow_SetSplitMode(_arg0,_arg1);
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) return NULL;
2500 } Py_INCREF(Py_None);
2501 _resultobj = Py_None;
2502 return _resultobj;
2503 }
2504
2505 #define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
2506 static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject * _resultobj;
2508 int _result;
2509 wxSplitterWindow * _arg0;
2510 PyObject * _argo0 = 0;
2511 char *_kwnames[] = { "self", NULL };
2512
2513 self = self;
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSplitMode",_kwnames,&_argo0))
2515 return NULL;
2516 if (_argo0) {
2517 if (_argo0 == Py_None) { _arg0 = NULL; }
2518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSplitMode. Expected _wxSplitterWindow_p.");
2520 return NULL;
2521 }
2522 }
2523 {
2524 PyThreadState* __tstate = wxPyBeginAllowThreads();
2525 _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
2526
2527 wxPyEndAllowThreads(__tstate);
2528 if (PyErr_Occurred()) return NULL;
2529 } _resultobj = Py_BuildValue("i",_result);
2530 return _resultobj;
2531 }
2532
2533 #define wxSplitterWindow_Initialize(_swigobj,_swigarg0) (_swigobj->Initialize(_swigarg0))
2534 static PyObject *_wrap_wxSplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
2535 PyObject * _resultobj;
2536 wxSplitterWindow * _arg0;
2537 wxWindow * _arg1;
2538 PyObject * _argo0 = 0;
2539 PyObject * _argo1 = 0;
2540 char *_kwnames[] = { "self","window", NULL };
2541
2542 self = self;
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSplitterWindow_Initialize",_kwnames,&_argo0,&_argo1))
2544 return NULL;
2545 if (_argo0) {
2546 if (_argo0 == Py_None) { _arg0 = NULL; }
2547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Initialize. Expected _wxSplitterWindow_p.");
2549 return NULL;
2550 }
2551 }
2552 if (_argo1) {
2553 if (_argo1 == Py_None) { _arg1 = NULL; }
2554 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Initialize. Expected _wxWindow_p.");
2556 return NULL;
2557 }
2558 }
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 wxSplitterWindow_Initialize(_arg0,_arg1);
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) return NULL;
2565 } Py_INCREF(Py_None);
2566 _resultobj = Py_None;
2567 return _resultobj;
2568 }
2569
2570 #define wxSplitterWindow_SplitVertically(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitVertically(_swigarg0,_swigarg1,_swigarg2))
2571 static PyObject *_wrap_wxSplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject * _resultobj;
2573 bool _result;
2574 wxSplitterWindow * _arg0;
2575 wxWindow * _arg1;
2576 wxWindow * _arg2;
2577 int _arg3 = (int ) 0;
2578 PyObject * _argo0 = 0;
2579 PyObject * _argo1 = 0;
2580 PyObject * _argo2 = 0;
2581 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
2582
2583 self = self;
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitVertically",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
2585 return NULL;
2586 if (_argo0) {
2587 if (_argo0 == Py_None) { _arg0 = NULL; }
2588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitVertically. Expected _wxSplitterWindow_p.");
2590 return NULL;
2591 }
2592 }
2593 if (_argo1) {
2594 if (_argo1 == Py_None) { _arg1 = NULL; }
2595 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2596 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2597 return NULL;
2598 }
2599 }
2600 if (_argo2) {
2601 if (_argo2 == Py_None) { _arg2 = NULL; }
2602 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitVertically. Expected _wxWindow_p.");
2604 return NULL;
2605 }
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) return NULL;
2613 } _resultobj = Py_BuildValue("i",_result);
2614 return _resultobj;
2615 }
2616
2617 #define wxSplitterWindow_SplitHorizontally(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SplitHorizontally(_swigarg0,_swigarg1,_swigarg2))
2618 static PyObject *_wrap_wxSplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject * _resultobj;
2620 bool _result;
2621 wxSplitterWindow * _arg0;
2622 wxWindow * _arg1;
2623 wxWindow * _arg2;
2624 int _arg3 = (int ) 0;
2625 PyObject * _argo0 = 0;
2626 PyObject * _argo1 = 0;
2627 PyObject * _argo2 = 0;
2628 char *_kwnames[] = { "self","window1","window2","sashPosition", NULL };
2629
2630 self = self;
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxSplitterWindow_SplitHorizontally",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3))
2632 return NULL;
2633 if (_argo0) {
2634 if (_argo0 == Py_None) { _arg0 = NULL; }
2635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SplitHorizontally. Expected _wxSplitterWindow_p.");
2637 return NULL;
2638 }
2639 }
2640 if (_argo1) {
2641 if (_argo1 == Py_None) { _arg1 = NULL; }
2642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2644 return NULL;
2645 }
2646 }
2647 if (_argo2) {
2648 if (_argo2 == Py_None) { _arg2 = NULL; }
2649 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2650 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_SplitHorizontally. Expected _wxWindow_p.");
2651 return NULL;
2652 }
2653 }
2654 {
2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
2656 _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
2657
2658 wxPyEndAllowThreads(__tstate);
2659 if (PyErr_Occurred()) return NULL;
2660 } _resultobj = Py_BuildValue("i",_result);
2661 return _resultobj;
2662 }
2663
2664 #define wxSplitterWindow_Unsplit(_swigobj,_swigarg0) (_swigobj->Unsplit(_swigarg0))
2665 static PyObject *_wrap_wxSplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2666 PyObject * _resultobj;
2667 bool _result;
2668 wxSplitterWindow * _arg0;
2669 wxWindow * _arg1 = (wxWindow *) NULL;
2670 PyObject * _argo0 = 0;
2671 PyObject * _argo1 = 0;
2672 char *_kwnames[] = { "self","toRemove", NULL };
2673
2674 self = self;
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxSplitterWindow_Unsplit",_kwnames,&_argo0,&_argo1))
2676 return NULL;
2677 if (_argo0) {
2678 if (_argo0 == Py_None) { _arg0 = NULL; }
2679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_Unsplit. Expected _wxSplitterWindow_p.");
2681 return NULL;
2682 }
2683 }
2684 if (_argo1) {
2685 if (_argo1 == Py_None) { _arg1 = NULL; }
2686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_Unsplit. Expected _wxWindow_p.");
2688 return NULL;
2689 }
2690 }
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) return NULL;
2697 } _resultobj = Py_BuildValue("i",_result);
2698 return _resultobj;
2699 }
2700
2701 #define wxSplitterWindow_ReplaceWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReplaceWindow(_swigarg0,_swigarg1))
2702 static PyObject *_wrap_wxSplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject * _resultobj;
2704 bool _result;
2705 wxSplitterWindow * _arg0;
2706 wxWindow * _arg1;
2707 wxWindow * _arg2;
2708 PyObject * _argo0 = 0;
2709 PyObject * _argo1 = 0;
2710 PyObject * _argo2 = 0;
2711 char *_kwnames[] = { "self","winOld","winNew", NULL };
2712
2713 self = self;
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSplitterWindow_ReplaceWindow",_kwnames,&_argo0,&_argo1,&_argo2))
2715 return NULL;
2716 if (_argo0) {
2717 if (_argo0 == Py_None) { _arg0 = NULL; }
2718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_ReplaceWindow. Expected _wxSplitterWindow_p.");
2720 return NULL;
2721 }
2722 }
2723 if (_argo1) {
2724 if (_argo1 == Py_None) { _arg1 = NULL; }
2725 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2726 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2727 return NULL;
2728 }
2729 }
2730 if (_argo2) {
2731 if (_argo2 == Py_None) { _arg2 = NULL; }
2732 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
2733 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSplitterWindow_ReplaceWindow. Expected _wxWindow_p.");
2734 return NULL;
2735 }
2736 }
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 _result = (bool )wxSplitterWindow_ReplaceWindow(_arg0,_arg1,_arg2);
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) return NULL;
2743 } _resultobj = Py_BuildValue("i",_result);
2744 return _resultobj;
2745 }
2746
2747 #define wxSplitterWindow_IsSplit(_swigobj) (_swigobj->IsSplit())
2748 static PyObject *_wrap_wxSplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject * _resultobj;
2750 bool _result;
2751 wxSplitterWindow * _arg0;
2752 PyObject * _argo0 = 0;
2753 char *_kwnames[] = { "self", NULL };
2754
2755 self = self;
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_IsSplit",_kwnames,&_argo0))
2757 return NULL;
2758 if (_argo0) {
2759 if (_argo0 == Py_None) { _arg0 = NULL; }
2760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_IsSplit. Expected _wxSplitterWindow_p.");
2762 return NULL;
2763 }
2764 }
2765 {
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 _result = (bool )wxSplitterWindow_IsSplit(_arg0);
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) return NULL;
2771 } _resultobj = Py_BuildValue("i",_result);
2772 return _resultobj;
2773 }
2774
2775 #define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
2776 static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2777 PyObject * _resultobj;
2778 wxSplitterWindow * _arg0;
2779 int _arg1;
2780 PyObject * _argo0 = 0;
2781 char *_kwnames[] = { "self","width", NULL };
2782
2783 self = self;
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetSashSize",_kwnames,&_argo0,&_arg1))
2785 return NULL;
2786 if (_argo0) {
2787 if (_argo0 == Py_None) { _arg0 = NULL; }
2788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
2790 return NULL;
2791 }
2792 }
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 wxSplitterWindow_SetSashSize(_arg0,_arg1);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) return NULL;
2799 } Py_INCREF(Py_None);
2800 _resultobj = Py_None;
2801 return _resultobj;
2802 }
2803
2804 #define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
2805 static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2806 PyObject * _resultobj;
2807 wxSplitterWindow * _arg0;
2808 int _arg1;
2809 PyObject * _argo0 = 0;
2810 char *_kwnames[] = { "self","width", NULL };
2811
2812 self = self;
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetBorderSize",_kwnames,&_argo0,&_arg1))
2814 return NULL;
2815 if (_argo0) {
2816 if (_argo0 == Py_None) { _arg0 = NULL; }
2817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
2819 return NULL;
2820 }
2821 }
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 wxSplitterWindow_SetBorderSize(_arg0,_arg1);
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) return NULL;
2828 } Py_INCREF(Py_None);
2829 _resultobj = Py_None;
2830 return _resultobj;
2831 }
2832
2833 #define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
2834 static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject * _resultobj;
2836 int _result;
2837 wxSplitterWindow * _arg0;
2838 PyObject * _argo0 = 0;
2839 char *_kwnames[] = { "self", NULL };
2840
2841 self = self;
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashSize",_kwnames,&_argo0))
2843 return NULL;
2844 if (_argo0) {
2845 if (_argo0 == Py_None) { _arg0 = NULL; }
2846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
2848 return NULL;
2849 }
2850 }
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 _result = (int )wxSplitterWindow_GetSashSize(_arg0);
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) return NULL;
2857 } _resultobj = Py_BuildValue("i",_result);
2858 return _resultobj;
2859 }
2860
2861 #define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
2862 static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject * _resultobj;
2864 int _result;
2865 wxSplitterWindow * _arg0;
2866 PyObject * _argo0 = 0;
2867 char *_kwnames[] = { "self", NULL };
2868
2869 self = self;
2870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetBorderSize",_kwnames,&_argo0))
2871 return NULL;
2872 if (_argo0) {
2873 if (_argo0 == Py_None) { _arg0 = NULL; }
2874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
2876 return NULL;
2877 }
2878 }
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) return NULL;
2885 } _resultobj = Py_BuildValue("i",_result);
2886 return _resultobj;
2887 }
2888
2889 #define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
2890 static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject * _resultobj;
2892 wxSplitterWindow * _arg0;
2893 int _arg1;
2894 bool _arg2 = (bool ) TRUE;
2895 PyObject * _argo0 = 0;
2896 int tempbool2 = (int) TRUE;
2897 char *_kwnames[] = { "self","position","redraw", NULL };
2898
2899 self = self;
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxSplitterWindow_SetSashPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
2901 return NULL;
2902 if (_argo0) {
2903 if (_argo0 == Py_None) { _arg0 = NULL; }
2904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashPosition. Expected _wxSplitterWindow_p.");
2906 return NULL;
2907 }
2908 }
2909 _arg2 = (bool ) tempbool2;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) return NULL;
2916 } Py_INCREF(Py_None);
2917 _resultobj = Py_None;
2918 return _resultobj;
2919 }
2920
2921 #define wxSplitterWindow_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
2922 static PyObject *_wrap_wxSplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject * _resultobj;
2924 int _result;
2925 wxSplitterWindow * _arg0;
2926 PyObject * _argo0 = 0;
2927 char *_kwnames[] = { "self", NULL };
2928
2929 self = self;
2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetSashPosition",_kwnames,&_argo0))
2931 return NULL;
2932 if (_argo0) {
2933 if (_argo0 == Py_None) { _arg0 = NULL; }
2934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashPosition. Expected _wxSplitterWindow_p.");
2936 return NULL;
2937 }
2938 }
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) return NULL;
2945 } _resultobj = Py_BuildValue("i",_result);
2946 return _resultobj;
2947 }
2948
2949 #define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
2950 static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject * _resultobj;
2952 wxSplitterWindow * _arg0;
2953 int _arg1;
2954 PyObject * _argo0 = 0;
2955 char *_kwnames[] = { "self","min", NULL };
2956
2957 self = self;
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetMinimumPaneSize",_kwnames,&_argo0,&_arg1))
2959 return NULL;
2960 if (_argo0) {
2961 if (_argo0 == Py_None) { _arg0 = NULL; }
2962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2964 return NULL;
2965 }
2966 }
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) return NULL;
2973 } Py_INCREF(Py_None);
2974 _resultobj = Py_None;
2975 return _resultobj;
2976 }
2977
2978 #define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
2979 static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2980 PyObject * _resultobj;
2981 int _result;
2982 wxSplitterWindow * _arg0;
2983 PyObject * _argo0 = 0;
2984 char *_kwnames[] = { "self", NULL };
2985
2986 self = self;
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetMinimumPaneSize",_kwnames,&_argo0))
2988 return NULL;
2989 if (_argo0) {
2990 if (_argo0 == Py_None) { _arg0 = NULL; }
2991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
2992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetMinimumPaneSize. Expected _wxSplitterWindow_p.");
2993 return NULL;
2994 }
2995 }
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) return NULL;
3002 } _resultobj = Py_BuildValue("i",_result);
3003 return _resultobj;
3004 }
3005
3006 #define wxSplitterWindow_SizeWindows(_swigobj) (_swigobj->SizeWindows())
3007 static PyObject *_wrap_wxSplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
3008 PyObject * _resultobj;
3009 wxSplitterWindow * _arg0;
3010 PyObject * _argo0 = 0;
3011 char *_kwnames[] = { "self", NULL };
3012
3013 self = self;
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_SizeWindows",_kwnames,&_argo0))
3015 return NULL;
3016 if (_argo0) {
3017 if (_argo0 == Py_None) { _arg0 = NULL; }
3018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SizeWindows. Expected _wxSplitterWindow_p.");
3020 return NULL;
3021 }
3022 }
3023 {
3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
3025 wxSplitterWindow_SizeWindows(_arg0);
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) return NULL;
3029 } Py_INCREF(Py_None);
3030 _resultobj = Py_None;
3031 return _resultobj;
3032 }
3033
3034 #define wxSplitterWindow_SetNeedUpdating(_swigobj,_swigarg0) (_swigobj->SetNeedUpdating(_swigarg0))
3035 static PyObject *_wrap_wxSplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject * _resultobj;
3037 wxSplitterWindow * _arg0;
3038 bool _arg1;
3039 PyObject * _argo0 = 0;
3040 int tempbool1;
3041 char *_kwnames[] = { "self","needUpdating", NULL };
3042
3043 self = self;
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSplitterWindow_SetNeedUpdating",_kwnames,&_argo0,&tempbool1))
3045 return NULL;
3046 if (_argo0) {
3047 if (_argo0 == Py_None) { _arg0 = NULL; }
3048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetNeedUpdating. Expected _wxSplitterWindow_p.");
3050 return NULL;
3051 }
3052 }
3053 _arg1 = (bool ) tempbool1;
3054 {
3055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3056 wxSplitterWindow_SetNeedUpdating(_arg0,_arg1);
3057
3058 wxPyEndAllowThreads(__tstate);
3059 if (PyErr_Occurred()) return NULL;
3060 } Py_INCREF(Py_None);
3061 _resultobj = Py_None;
3062 return _resultobj;
3063 }
3064
3065 #define wxSplitterWindow_GetNeedUpdating(_swigobj) (_swigobj->GetNeedUpdating())
3066 static PyObject *_wrap_wxSplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
3067 PyObject * _resultobj;
3068 bool _result;
3069 wxSplitterWindow * _arg0;
3070 PyObject * _argo0 = 0;
3071 char *_kwnames[] = { "self", NULL };
3072
3073 self = self;
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSplitterWindow_GetNeedUpdating",_kwnames,&_argo0))
3075 return NULL;
3076 if (_argo0) {
3077 if (_argo0 == Py_None) { _arg0 = NULL; }
3078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSplitterWindow_p")) {
3079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetNeedUpdating. Expected _wxSplitterWindow_p.");
3080 return NULL;
3081 }
3082 }
3083 {
3084 PyThreadState* __tstate = wxPyBeginAllowThreads();
3085 _result = (bool )wxSplitterWindow_GetNeedUpdating(_arg0);
3086
3087 wxPyEndAllowThreads(__tstate);
3088 if (PyErr_Occurred()) return NULL;
3089 } _resultobj = Py_BuildValue("i",_result);
3090 return _resultobj;
3091 }
3092
3093 static void *SwigwxPyWindowTowxWindow(void *ptr) {
3094 wxPyWindow *src;
3095 wxWindow *dest;
3096 src = (wxPyWindow *) ptr;
3097 dest = (wxWindow *) src;
3098 return (void *) dest;
3099 }
3100
3101 static void *SwigwxPyWindowTowxEvtHandler(void *ptr) {
3102 wxPyWindow *src;
3103 wxEvtHandler *dest;
3104 src = (wxPyWindow *) ptr;
3105 dest = (wxEvtHandler *) src;
3106 return (void *) dest;
3107 }
3108
3109 static void *SwigwxPyWindowTowxObject(void *ptr) {
3110 wxPyWindow *src;
3111 wxObject *dest;
3112 src = (wxPyWindow *) ptr;
3113 dest = (wxObject *) src;
3114 return (void *) dest;
3115 }
3116
3117 #define new_wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3118 static PyObject *_wrap_new_wxPyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject * _resultobj;
3120 wxPyWindow * _result;
3121 wxWindow * _arg0;
3122 wxWindowID _arg1;
3123 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3124 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3125 long _arg4 = (long ) 0;
3126 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
3127 PyObject * _argo0 = 0;
3128 wxPoint temp;
3129 PyObject * _obj2 = 0;
3130 wxSize temp0;
3131 PyObject * _obj3 = 0;
3132 PyObject * _obj5 = 0;
3133 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3134 char _ptemp[128];
3135
3136 self = self;
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
3138 return NULL;
3139 if (_argo0) {
3140 if (_argo0 == Py_None) { _arg0 = NULL; }
3141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyWindow. Expected _wxWindow_p.");
3143 return NULL;
3144 }
3145 }
3146 if (_obj2)
3147 {
3148 _arg2 = &temp;
3149 if (! wxPoint_helper(_obj2, &_arg2))
3150 return NULL;
3151 }
3152 if (_obj3)
3153 {
3154 _arg3 = &temp0;
3155 if (! wxSize_helper(_obj3, &_arg3))
3156 return NULL;
3157 }
3158 if (_obj5)
3159 {
3160 _arg5 = wxString_in_helper(_obj5);
3161 if (_arg5 == NULL)
3162 return NULL;
3163 }
3164 {
3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
3166 _result = (wxPyWindow *)new_wxPyWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
3167
3168 wxPyEndAllowThreads(__tstate);
3169 if (PyErr_Occurred()) return NULL;
3170 } if (_result) {
3171 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyWindow_p");
3172 _resultobj = Py_BuildValue("s",_ptemp);
3173 } else {
3174 Py_INCREF(Py_None);
3175 _resultobj = Py_None;
3176 }
3177 {
3178 if (_obj5)
3179 delete _arg5;
3180 }
3181 return _resultobj;
3182 }
3183
3184 #define wxPyWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3185 static PyObject *_wrap_wxPyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject * _resultobj;
3187 wxPyWindow * _arg0;
3188 PyObject * _arg1;
3189 PyObject * _arg2;
3190 PyObject * _argo0 = 0;
3191 PyObject * _obj1 = 0;
3192 PyObject * _obj2 = 0;
3193 char *_kwnames[] = { "self","self","_class", NULL };
3194
3195 self = self;
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3197 return NULL;
3198 if (_argo0) {
3199 if (_argo0 == Py_None) { _arg0 = NULL; }
3200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow__setCallbackInfo. Expected _wxPyWindow_p.");
3202 return NULL;
3203 }
3204 }
3205 {
3206 _arg1 = _obj1;
3207 }
3208 {
3209 _arg2 = _obj2;
3210 }
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 wxPyWindow__setCallbackInfo(_arg0,_arg1,_arg2);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) return NULL;
3217 } Py_INCREF(Py_None);
3218 _resultobj = Py_None;
3219 return _resultobj;
3220 }
3221
3222 #define wxPyWindow_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3223 static PyObject *_wrap_wxPyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject * _resultobj;
3225 wxPyWindow * _arg0;
3226 int _arg1;
3227 int _arg2;
3228 int _arg3;
3229 int _arg4;
3230 PyObject * _argo0 = 0;
3231 char *_kwnames[] = { "self","x","y","width","height", NULL };
3232
3233 self = self;
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyWindow_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3235 return NULL;
3236 if (_argo0) {
3237 if (_argo0 == Py_None) { _arg0 = NULL; }
3238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoMoveWindow. Expected _wxPyWindow_p.");
3240 return NULL;
3241 }
3242 }
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 wxPyWindow_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) return NULL;
3249 } Py_INCREF(Py_None);
3250 _resultobj = Py_None;
3251 return _resultobj;
3252 }
3253
3254 #define wxPyWindow_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3255 static PyObject *_wrap_wxPyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject * _resultobj;
3257 wxPyWindow * _arg0;
3258 int _arg1;
3259 int _arg2;
3260 int _arg3;
3261 int _arg4;
3262 int _arg5 = (int ) wxSIZE_AUTO;
3263 PyObject * _argo0 = 0;
3264 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
3265
3266 self = self;
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyWindow_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
3268 return NULL;
3269 if (_argo0) {
3270 if (_argo0 == Py_None) { _arg0 = NULL; }
3271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetSize. Expected _wxPyWindow_p.");
3273 return NULL;
3274 }
3275 }
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 wxPyWindow_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) return NULL;
3282 } Py_INCREF(Py_None);
3283 _resultobj = Py_None;
3284 return _resultobj;
3285 }
3286
3287 #define wxPyWindow_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
3288 static PyObject *_wrap_wxPyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject * _resultobj;
3290 wxPyWindow * _arg0;
3291 int _arg1;
3292 int _arg2;
3293 PyObject * _argo0 = 0;
3294 char *_kwnames[] = { "self","width","height", NULL };
3295
3296 self = self;
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
3298 return NULL;
3299 if (_argo0) {
3300 if (_argo0 == Py_None) { _arg0 = NULL; }
3301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetClientSize. Expected _wxPyWindow_p.");
3303 return NULL;
3304 }
3305 }
3306 {
3307 PyThreadState* __tstate = wxPyBeginAllowThreads();
3308 wxPyWindow_base_DoSetClientSize(_arg0,_arg1,_arg2);
3309
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) return NULL;
3312 } Py_INCREF(Py_None);
3313 _resultobj = Py_None;
3314 return _resultobj;
3315 }
3316
3317 #define wxPyWindow_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
3318 static PyObject *_wrap_wxPyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3319 PyObject * _resultobj;
3320 wxPyWindow * _arg0;
3321 int _arg1;
3322 int _arg2;
3323 PyObject * _argo0 = 0;
3324 char *_kwnames[] = { "self","x","y", NULL };
3325
3326 self = self;
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyWindow_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
3328 return NULL;
3329 if (_argo0) {
3330 if (_argo0 == Py_None) { _arg0 = NULL; }
3331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoSetVirtualSize. Expected _wxPyWindow_p.");
3333 return NULL;
3334 }
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 wxPyWindow_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) return NULL;
3342 } Py_INCREF(Py_None);
3343 _resultobj = Py_None;
3344 return _resultobj;
3345 }
3346
3347 #define wxPyWindow_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
3348 static PyObject *_wrap_wxPyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject * _resultobj;
3350 wxPyWindow * _arg0;
3351 int * _arg1;
3352 int temp;
3353 int * _arg2;
3354 int temp0;
3355 PyObject * _argo0 = 0;
3356 char *_kwnames[] = { "self", NULL };
3357
3358 self = self;
3359 {
3360 _arg1 = &temp;
3361 }
3362 {
3363 _arg2 = &temp0;
3364 }
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetSize",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetSize. Expected _wxPyWindow_p.");
3371 return NULL;
3372 }
3373 }
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 wxPyWindow_base_DoGetSize(_arg0,_arg1,_arg2);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) return NULL;
3380 } Py_INCREF(Py_None);
3381 _resultobj = Py_None;
3382 {
3383 PyObject *o;
3384 o = PyInt_FromLong((long) (*_arg1));
3385 _resultobj = t_output_helper(_resultobj, o);
3386 }
3387 {
3388 PyObject *o;
3389 o = PyInt_FromLong((long) (*_arg2));
3390 _resultobj = t_output_helper(_resultobj, o);
3391 }
3392 return _resultobj;
3393 }
3394
3395 #define wxPyWindow_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
3396 static PyObject *_wrap_wxPyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject * _resultobj;
3398 wxPyWindow * _arg0;
3399 int * _arg1;
3400 int temp;
3401 int * _arg2;
3402 int temp0;
3403 PyObject * _argo0 = 0;
3404 char *_kwnames[] = { "self", NULL };
3405
3406 self = self;
3407 {
3408 _arg1 = &temp;
3409 }
3410 {
3411 _arg2 = &temp0;
3412 }
3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetClientSize",_kwnames,&_argo0))
3414 return NULL;
3415 if (_argo0) {
3416 if (_argo0 == Py_None) { _arg0 = NULL; }
3417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetClientSize. Expected _wxPyWindow_p.");
3419 return NULL;
3420 }
3421 }
3422 {
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 wxPyWindow_base_DoGetClientSize(_arg0,_arg1,_arg2);
3425
3426 wxPyEndAllowThreads(__tstate);
3427 if (PyErr_Occurred()) return NULL;
3428 } Py_INCREF(Py_None);
3429 _resultobj = Py_None;
3430 {
3431 PyObject *o;
3432 o = PyInt_FromLong((long) (*_arg1));
3433 _resultobj = t_output_helper(_resultobj, o);
3434 }
3435 {
3436 PyObject *o;
3437 o = PyInt_FromLong((long) (*_arg2));
3438 _resultobj = t_output_helper(_resultobj, o);
3439 }
3440 return _resultobj;
3441 }
3442
3443 #define wxPyWindow_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
3444 static PyObject *_wrap_wxPyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3445 PyObject * _resultobj;
3446 wxPyWindow * _arg0;
3447 int * _arg1;
3448 int temp;
3449 int * _arg2;
3450 int temp0;
3451 PyObject * _argo0 = 0;
3452 char *_kwnames[] = { "self", NULL };
3453
3454 self = self;
3455 {
3456 _arg1 = &temp;
3457 }
3458 {
3459 _arg2 = &temp0;
3460 }
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetPosition",_kwnames,&_argo0))
3462 return NULL;
3463 if (_argo0) {
3464 if (_argo0 == Py_None) { _arg0 = NULL; }
3465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetPosition. Expected _wxPyWindow_p.");
3467 return NULL;
3468 }
3469 }
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 wxPyWindow_base_DoGetPosition(_arg0,_arg1,_arg2);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) return NULL;
3476 } Py_INCREF(Py_None);
3477 _resultobj = Py_None;
3478 {
3479 PyObject *o;
3480 o = PyInt_FromLong((long) (*_arg1));
3481 _resultobj = t_output_helper(_resultobj, o);
3482 }
3483 {
3484 PyObject *o;
3485 o = PyInt_FromLong((long) (*_arg2));
3486 _resultobj = t_output_helper(_resultobj, o);
3487 }
3488 return _resultobj;
3489 }
3490
3491 #define wxPyWindow_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
3492 static PyObject *_wrap_wxPyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject * _resultobj;
3494 wxSize * _result;
3495 wxPyWindow * _arg0;
3496 PyObject * _argo0 = 0;
3497 char *_kwnames[] = { "self", NULL };
3498 char _ptemp[128];
3499
3500 self = self;
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetVirtualSize",_kwnames,&_argo0))
3502 return NULL;
3503 if (_argo0) {
3504 if (_argo0 == Py_None) { _arg0 = NULL; }
3505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetVirtualSize. Expected _wxPyWindow_p.");
3507 return NULL;
3508 }
3509 }
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 _result = new wxSize (wxPyWindow_base_DoGetVirtualSize(_arg0));
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) return NULL;
3516 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3517 _resultobj = Py_BuildValue("s",_ptemp);
3518 return _resultobj;
3519 }
3520
3521 #define wxPyWindow_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
3522 static PyObject *_wrap_wxPyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject * _resultobj;
3524 wxSize * _result;
3525 wxPyWindow * _arg0;
3526 PyObject * _argo0 = 0;
3527 char *_kwnames[] = { "self", NULL };
3528 char _ptemp[128];
3529
3530 self = self;
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_DoGetBestSize",_kwnames,&_argo0))
3532 return NULL;
3533 if (_argo0) {
3534 if (_argo0 == Py_None) { _arg0 = NULL; }
3535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_DoGetBestSize. Expected _wxPyWindow_p.");
3537 return NULL;
3538 }
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 _result = new wxSize (wxPyWindow_base_DoGetBestSize(_arg0));
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) return NULL;
3546 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3547 _resultobj = Py_BuildValue("s",_ptemp);
3548 return _resultobj;
3549 }
3550
3551 #define wxPyWindow_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
3552 static PyObject *_wrap_wxPyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3553 PyObject * _resultobj;
3554 wxPyWindow * _arg0;
3555 PyObject * _argo0 = 0;
3556 char *_kwnames[] = { "self", NULL };
3557
3558 self = self;
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_InitDialog",_kwnames,&_argo0))
3560 return NULL;
3561 if (_argo0) {
3562 if (_argo0 == Py_None) { _arg0 = NULL; }
3563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_InitDialog. Expected _wxPyWindow_p.");
3565 return NULL;
3566 }
3567 }
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 wxPyWindow_base_InitDialog(_arg0);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) return NULL;
3574 } Py_INCREF(Py_None);
3575 _resultobj = Py_None;
3576 return _resultobj;
3577 }
3578
3579 #define wxPyWindow_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
3580 static PyObject *_wrap_wxPyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3581 PyObject * _resultobj;
3582 bool _result;
3583 wxPyWindow * _arg0;
3584 PyObject * _argo0 = 0;
3585 char *_kwnames[] = { "self", NULL };
3586
3587 self = self;
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataToWindow",_kwnames,&_argo0))
3589 return NULL;
3590 if (_argo0) {
3591 if (_argo0 == Py_None) { _arg0 = NULL; }
3592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataToWindow. Expected _wxPyWindow_p.");
3594 return NULL;
3595 }
3596 }
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 _result = (bool )wxPyWindow_base_TransferDataToWindow(_arg0);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) return NULL;
3603 } _resultobj = Py_BuildValue("i",_result);
3604 return _resultobj;
3605 }
3606
3607 #define wxPyWindow_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
3608 static PyObject *_wrap_wxPyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject * _resultobj;
3610 bool _result;
3611 wxPyWindow * _arg0;
3612 PyObject * _argo0 = 0;
3613 char *_kwnames[] = { "self", NULL };
3614
3615 self = self;
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_TransferDataFromWindow",_kwnames,&_argo0))
3617 return NULL;
3618 if (_argo0) {
3619 if (_argo0 == Py_None) { _arg0 = NULL; }
3620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_TransferDataFromWindow. Expected _wxPyWindow_p.");
3622 return NULL;
3623 }
3624 }
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 _result = (bool )wxPyWindow_base_TransferDataFromWindow(_arg0);
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) return NULL;
3631 } _resultobj = Py_BuildValue("i",_result);
3632 return _resultobj;
3633 }
3634
3635 #define wxPyWindow_base_Validate(_swigobj) (_swigobj->base_Validate())
3636 static PyObject *_wrap_wxPyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
3637 PyObject * _resultobj;
3638 bool _result;
3639 wxPyWindow * _arg0;
3640 PyObject * _argo0 = 0;
3641 char *_kwnames[] = { "self", NULL };
3642
3643 self = self;
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_Validate",_kwnames,&_argo0))
3645 return NULL;
3646 if (_argo0) {
3647 if (_argo0 == Py_None) { _arg0 = NULL; }
3648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_Validate. Expected _wxPyWindow_p.");
3650 return NULL;
3651 }
3652 }
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 _result = (bool )wxPyWindow_base_Validate(_arg0);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) return NULL;
3659 } _resultobj = Py_BuildValue("i",_result);
3660 return _resultobj;
3661 }
3662
3663 #define wxPyWindow_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
3664 static PyObject *_wrap_wxPyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject * _resultobj;
3666 bool _result;
3667 wxPyWindow * _arg0;
3668 PyObject * _argo0 = 0;
3669 char *_kwnames[] = { "self", NULL };
3670
3671 self = self;
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocus",_kwnames,&_argo0))
3673 return NULL;
3674 if (_argo0) {
3675 if (_argo0 == Py_None) { _arg0 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocus. Expected _wxPyWindow_p.");
3678 return NULL;
3679 }
3680 }
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 _result = (bool )wxPyWindow_base_AcceptsFocus(_arg0);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) return NULL;
3687 } _resultobj = Py_BuildValue("i",_result);
3688 return _resultobj;
3689 }
3690
3691 #define wxPyWindow_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
3692 static PyObject *_wrap_wxPyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject * _resultobj;
3694 bool _result;
3695 wxPyWindow * _arg0;
3696 PyObject * _argo0 = 0;
3697 char *_kwnames[] = { "self", NULL };
3698
3699 self = self;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
3701 return NULL;
3702 if (_argo0) {
3703 if (_argo0 == Py_None) { _arg0 = NULL; }
3704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AcceptsFocusFromKeyboard. Expected _wxPyWindow_p.");
3706 return NULL;
3707 }
3708 }
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 _result = (bool )wxPyWindow_base_AcceptsFocusFromKeyboard(_arg0);
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) return NULL;
3715 } _resultobj = Py_BuildValue("i",_result);
3716 return _resultobj;
3717 }
3718
3719 #define wxPyWindow_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
3720 static PyObject *_wrap_wxPyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject * _resultobj;
3722 wxSize * _result;
3723 wxPyWindow * _arg0;
3724 PyObject * _argo0 = 0;
3725 char *_kwnames[] = { "self", NULL };
3726 char _ptemp[128];
3727
3728 self = self;
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyWindow_base_GetMaxSize",_kwnames,&_argo0))
3730 return NULL;
3731 if (_argo0) {
3732 if (_argo0 == Py_None) { _arg0 = NULL; }
3733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_GetMaxSize. Expected _wxPyWindow_p.");
3735 return NULL;
3736 }
3737 }
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 _result = new wxSize (wxPyWindow_base_GetMaxSize(_arg0));
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) return NULL;
3744 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3745 _resultobj = Py_BuildValue("s",_ptemp);
3746 return _resultobj;
3747 }
3748
3749 #define wxPyWindow_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
3750 static PyObject *_wrap_wxPyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject * _resultobj;
3752 wxPyWindow * _arg0;
3753 wxWindow * _arg1;
3754 PyObject * _argo0 = 0;
3755 PyObject * _argo1 = 0;
3756 char *_kwnames[] = { "self","child", NULL };
3757
3758 self = self;
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_AddChild",_kwnames,&_argo0,&_argo1))
3760 return NULL;
3761 if (_argo0) {
3762 if (_argo0 == Py_None) { _arg0 = NULL; }
3763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_AddChild. Expected _wxPyWindow_p.");
3765 return NULL;
3766 }
3767 }
3768 if (_argo1) {
3769 if (_argo1 == Py_None) { _arg1 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_AddChild. Expected _wxWindow_p.");
3772 return NULL;
3773 }
3774 }
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 wxPyWindow_base_AddChild(_arg0,_arg1);
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) return NULL;
3781 } Py_INCREF(Py_None);
3782 _resultobj = Py_None;
3783 return _resultobj;
3784 }
3785
3786 #define wxPyWindow_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
3787 static PyObject *_wrap_wxPyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
3788 PyObject * _resultobj;
3789 wxPyWindow * _arg0;
3790 wxWindow * _arg1;
3791 PyObject * _argo0 = 0;
3792 PyObject * _argo1 = 0;
3793 char *_kwnames[] = { "self","child", NULL };
3794
3795 self = self;
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyWindow_base_RemoveChild",_kwnames,&_argo0,&_argo1))
3797 return NULL;
3798 if (_argo0) {
3799 if (_argo0 == Py_None) { _arg0 = NULL; }
3800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyWindow_base_RemoveChild. Expected _wxPyWindow_p.");
3802 return NULL;
3803 }
3804 }
3805 if (_argo1) {
3806 if (_argo1 == Py_None) { _arg1 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyWindow_base_RemoveChild. Expected _wxWindow_p.");
3809 return NULL;
3810 }
3811 }
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 wxPyWindow_base_RemoveChild(_arg0,_arg1);
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) return NULL;
3818 } Py_INCREF(Py_None);
3819 _resultobj = Py_None;
3820 return _resultobj;
3821 }
3822
3823 static void *SwigwxPyControlTowxControl(void *ptr) {
3824 wxPyControl *src;
3825 wxControl *dest;
3826 src = (wxPyControl *) ptr;
3827 dest = (wxControl *) src;
3828 return (void *) dest;
3829 }
3830
3831 static void *SwigwxPyControlTowxWindow(void *ptr) {
3832 wxPyControl *src;
3833 wxWindow *dest;
3834 src = (wxPyControl *) ptr;
3835 dest = (wxWindow *) src;
3836 return (void *) dest;
3837 }
3838
3839 static void *SwigwxPyControlTowxEvtHandler(void *ptr) {
3840 wxPyControl *src;
3841 wxEvtHandler *dest;
3842 src = (wxPyControl *) ptr;
3843 dest = (wxEvtHandler *) src;
3844 return (void *) dest;
3845 }
3846
3847 static void *SwigwxPyControlTowxObject(void *ptr) {
3848 wxPyControl *src;
3849 wxObject *dest;
3850 src = (wxPyControl *) ptr;
3851 dest = (wxObject *) src;
3852 return (void *) dest;
3853 }
3854
3855 #define new_wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3856 static PyObject *_wrap_new_wxPyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject * _resultobj;
3858 wxPyControl * _result;
3859 wxWindow * _arg0;
3860 wxWindowID _arg1;
3861 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3862 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3863 long _arg4 = (long ) 0;
3864 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
3865 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
3866 PyObject * _argo0 = 0;
3867 wxPoint temp;
3868 PyObject * _obj2 = 0;
3869 wxSize temp0;
3870 PyObject * _obj3 = 0;
3871 PyObject * _argo5 = 0;
3872 PyObject * _obj6 = 0;
3873 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
3874 char _ptemp[128];
3875
3876 self = self;
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxPyControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
3878 return NULL;
3879 if (_argo0) {
3880 if (_argo0 == Py_None) { _arg0 = NULL; }
3881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControl. Expected _wxWindow_p.");
3883 return NULL;
3884 }
3885 }
3886 if (_obj2)
3887 {
3888 _arg2 = &temp;
3889 if (! wxPoint_helper(_obj2, &_arg2))
3890 return NULL;
3891 }
3892 if (_obj3)
3893 {
3894 _arg3 = &temp0;
3895 if (! wxSize_helper(_obj3, &_arg3))
3896 return NULL;
3897 }
3898 if (_argo5) {
3899 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxPyControl. Expected _wxValidator_p.");
3901 return NULL;
3902 }
3903 }
3904 if (_obj6)
3905 {
3906 _arg6 = wxString_in_helper(_obj6);
3907 if (_arg6 == NULL)
3908 return NULL;
3909 }
3910 {
3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
3912 _result = (wxPyControl *)new_wxPyControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
3913
3914 wxPyEndAllowThreads(__tstate);
3915 if (PyErr_Occurred()) return NULL;
3916 } if (_result) {
3917 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControl_p");
3918 _resultobj = Py_BuildValue("s",_ptemp);
3919 } else {
3920 Py_INCREF(Py_None);
3921 _resultobj = Py_None;
3922 }
3923 {
3924 if (_obj6)
3925 delete _arg6;
3926 }
3927 return _resultobj;
3928 }
3929
3930 #define wxPyControl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3931 static PyObject *_wrap_wxPyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 wxPyControl * _arg0;
3934 PyObject * _arg1;
3935 PyObject * _arg2;
3936 PyObject * _argo0 = 0;
3937 PyObject * _obj1 = 0;
3938 PyObject * _obj2 = 0;
3939 char *_kwnames[] = { "self","self","_class", NULL };
3940
3941 self = self;
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
3943 return NULL;
3944 if (_argo0) {
3945 if (_argo0 == Py_None) { _arg0 = NULL; }
3946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl__setCallbackInfo. Expected _wxPyControl_p.");
3948 return NULL;
3949 }
3950 }
3951 {
3952 _arg1 = _obj1;
3953 }
3954 {
3955 _arg2 = _obj2;
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 wxPyControl__setCallbackInfo(_arg0,_arg1,_arg2);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) return NULL;
3963 } Py_INCREF(Py_None);
3964 _resultobj = Py_None;
3965 return _resultobj;
3966 }
3967
3968 #define wxPyControl_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3969 static PyObject *_wrap_wxPyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3970 PyObject * _resultobj;
3971 wxPyControl * _arg0;
3972 int _arg1;
3973 int _arg2;
3974 int _arg3;
3975 int _arg4;
3976 PyObject * _argo0 = 0;
3977 char *_kwnames[] = { "self","x","y","width","height", NULL };
3978
3979 self = self;
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyControl_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3981 return NULL;
3982 if (_argo0) {
3983 if (_argo0 == Py_None) { _arg0 = NULL; }
3984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
3985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoMoveWindow. Expected _wxPyControl_p.");
3986 return NULL;
3987 }
3988 }
3989 {
3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
3991 wxPyControl_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
3992
3993 wxPyEndAllowThreads(__tstate);
3994 if (PyErr_Occurred()) return NULL;
3995 } Py_INCREF(Py_None);
3996 _resultobj = Py_None;
3997 return _resultobj;
3998 }
3999
4000 #define wxPyControl_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4001 static PyObject *_wrap_wxPyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4002 PyObject * _resultobj;
4003 wxPyControl * _arg0;
4004 int _arg1;
4005 int _arg2;
4006 int _arg3;
4007 int _arg4;
4008 int _arg5 = (int ) wxSIZE_AUTO;
4009 PyObject * _argo0 = 0;
4010 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4011
4012 self = self;
4013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyControl_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4014 return NULL;
4015 if (_argo0) {
4016 if (_argo0 == Py_None) { _arg0 = NULL; }
4017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetSize. Expected _wxPyControl_p.");
4019 return NULL;
4020 }
4021 }
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 wxPyControl_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) return NULL;
4028 } Py_INCREF(Py_None);
4029 _resultobj = Py_None;
4030 return _resultobj;
4031 }
4032
4033 #define wxPyControl_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4034 static PyObject *_wrap_wxPyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject * _resultobj;
4036 wxPyControl * _arg0;
4037 int _arg1;
4038 int _arg2;
4039 PyObject * _argo0 = 0;
4040 char *_kwnames[] = { "self","width","height", NULL };
4041
4042 self = self;
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
4044 return NULL;
4045 if (_argo0) {
4046 if (_argo0 == Py_None) { _arg0 = NULL; }
4047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetClientSize. Expected _wxPyControl_p.");
4049 return NULL;
4050 }
4051 }
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 wxPyControl_base_DoSetClientSize(_arg0,_arg1,_arg2);
4055
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) return NULL;
4058 } Py_INCREF(Py_None);
4059 _resultobj = Py_None;
4060 return _resultobj;
4061 }
4062
4063 #define wxPyControl_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4064 static PyObject *_wrap_wxPyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject * _resultobj;
4066 wxPyControl * _arg0;
4067 int _arg1;
4068 int _arg2;
4069 PyObject * _argo0 = 0;
4070 char *_kwnames[] = { "self","x","y", NULL };
4071
4072 self = self;
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyControl_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
4074 return NULL;
4075 if (_argo0) {
4076 if (_argo0 == Py_None) { _arg0 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoSetVirtualSize. Expected _wxPyControl_p.");
4079 return NULL;
4080 }
4081 }
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 wxPyControl_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) return NULL;
4088 } Py_INCREF(Py_None);
4089 _resultobj = Py_None;
4090 return _resultobj;
4091 }
4092
4093 #define wxPyControl_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4094 static PyObject *_wrap_wxPyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject * _resultobj;
4096 wxPyControl * _arg0;
4097 int * _arg1;
4098 int temp;
4099 int * _arg2;
4100 int temp0;
4101 PyObject * _argo0 = 0;
4102 char *_kwnames[] = { "self", NULL };
4103
4104 self = self;
4105 {
4106 _arg1 = &temp;
4107 }
4108 {
4109 _arg2 = &temp0;
4110 }
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetSize",_kwnames,&_argo0))
4112 return NULL;
4113 if (_argo0) {
4114 if (_argo0 == Py_None) { _arg0 = NULL; }
4115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetSize. Expected _wxPyControl_p.");
4117 return NULL;
4118 }
4119 }
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 wxPyControl_base_DoGetSize(_arg0,_arg1,_arg2);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) return NULL;
4126 } Py_INCREF(Py_None);
4127 _resultobj = Py_None;
4128 {
4129 PyObject *o;
4130 o = PyInt_FromLong((long) (*_arg1));
4131 _resultobj = t_output_helper(_resultobj, o);
4132 }
4133 {
4134 PyObject *o;
4135 o = PyInt_FromLong((long) (*_arg2));
4136 _resultobj = t_output_helper(_resultobj, o);
4137 }
4138 return _resultobj;
4139 }
4140
4141 #define wxPyControl_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4142 static PyObject *_wrap_wxPyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject * _resultobj;
4144 wxPyControl * _arg0;
4145 int * _arg1;
4146 int temp;
4147 int * _arg2;
4148 int temp0;
4149 PyObject * _argo0 = 0;
4150 char *_kwnames[] = { "self", NULL };
4151
4152 self = self;
4153 {
4154 _arg1 = &temp;
4155 }
4156 {
4157 _arg2 = &temp0;
4158 }
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetClientSize",_kwnames,&_argo0))
4160 return NULL;
4161 if (_argo0) {
4162 if (_argo0 == Py_None) { _arg0 = NULL; }
4163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetClientSize. Expected _wxPyControl_p.");
4165 return NULL;
4166 }
4167 }
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 wxPyControl_base_DoGetClientSize(_arg0,_arg1,_arg2);
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) return NULL;
4174 } Py_INCREF(Py_None);
4175 _resultobj = Py_None;
4176 {
4177 PyObject *o;
4178 o = PyInt_FromLong((long) (*_arg1));
4179 _resultobj = t_output_helper(_resultobj, o);
4180 }
4181 {
4182 PyObject *o;
4183 o = PyInt_FromLong((long) (*_arg2));
4184 _resultobj = t_output_helper(_resultobj, o);
4185 }
4186 return _resultobj;
4187 }
4188
4189 #define wxPyControl_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4190 static PyObject *_wrap_wxPyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject * _resultobj;
4192 wxPyControl * _arg0;
4193 int * _arg1;
4194 int temp;
4195 int * _arg2;
4196 int temp0;
4197 PyObject * _argo0 = 0;
4198 char *_kwnames[] = { "self", NULL };
4199
4200 self = self;
4201 {
4202 _arg1 = &temp;
4203 }
4204 {
4205 _arg2 = &temp0;
4206 }
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetPosition",_kwnames,&_argo0))
4208 return NULL;
4209 if (_argo0) {
4210 if (_argo0 == Py_None) { _arg0 = NULL; }
4211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetPosition. Expected _wxPyControl_p.");
4213 return NULL;
4214 }
4215 }
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 wxPyControl_base_DoGetPosition(_arg0,_arg1,_arg2);
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) return NULL;
4222 } Py_INCREF(Py_None);
4223 _resultobj = Py_None;
4224 {
4225 PyObject *o;
4226 o = PyInt_FromLong((long) (*_arg1));
4227 _resultobj = t_output_helper(_resultobj, o);
4228 }
4229 {
4230 PyObject *o;
4231 o = PyInt_FromLong((long) (*_arg2));
4232 _resultobj = t_output_helper(_resultobj, o);
4233 }
4234 return _resultobj;
4235 }
4236
4237 #define wxPyControl_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4238 static PyObject *_wrap_wxPyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4239 PyObject * _resultobj;
4240 wxSize * _result;
4241 wxPyControl * _arg0;
4242 PyObject * _argo0 = 0;
4243 char *_kwnames[] = { "self", NULL };
4244 char _ptemp[128];
4245
4246 self = self;
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetVirtualSize",_kwnames,&_argo0))
4248 return NULL;
4249 if (_argo0) {
4250 if (_argo0 == Py_None) { _arg0 = NULL; }
4251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetVirtualSize. Expected _wxPyControl_p.");
4253 return NULL;
4254 }
4255 }
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 _result = new wxSize (wxPyControl_base_DoGetVirtualSize(_arg0));
4259
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) return NULL;
4262 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4263 _resultobj = Py_BuildValue("s",_ptemp);
4264 return _resultobj;
4265 }
4266
4267 #define wxPyControl_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
4268 static PyObject *_wrap_wxPyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject * _resultobj;
4270 wxSize * _result;
4271 wxPyControl * _arg0;
4272 PyObject * _argo0 = 0;
4273 char *_kwnames[] = { "self", NULL };
4274 char _ptemp[128];
4275
4276 self = self;
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_DoGetBestSize",_kwnames,&_argo0))
4278 return NULL;
4279 if (_argo0) {
4280 if (_argo0 == Py_None) { _arg0 = NULL; }
4281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_DoGetBestSize. Expected _wxPyControl_p.");
4283 return NULL;
4284 }
4285 }
4286 {
4287 PyThreadState* __tstate = wxPyBeginAllowThreads();
4288 _result = new wxSize (wxPyControl_base_DoGetBestSize(_arg0));
4289
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) return NULL;
4292 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4293 _resultobj = Py_BuildValue("s",_ptemp);
4294 return _resultobj;
4295 }
4296
4297 #define wxPyControl_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
4298 static PyObject *_wrap_wxPyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject * _resultobj;
4300 wxPyControl * _arg0;
4301 PyObject * _argo0 = 0;
4302 char *_kwnames[] = { "self", NULL };
4303
4304 self = self;
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_InitDialog",_kwnames,&_argo0))
4306 return NULL;
4307 if (_argo0) {
4308 if (_argo0 == Py_None) { _arg0 = NULL; }
4309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_InitDialog. Expected _wxPyControl_p.");
4311 return NULL;
4312 }
4313 }
4314 {
4315 PyThreadState* __tstate = wxPyBeginAllowThreads();
4316 wxPyControl_base_InitDialog(_arg0);
4317
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) return NULL;
4320 } Py_INCREF(Py_None);
4321 _resultobj = Py_None;
4322 return _resultobj;
4323 }
4324
4325 #define wxPyControl_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
4326 static PyObject *_wrap_wxPyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject * _resultobj;
4328 bool _result;
4329 wxPyControl * _arg0;
4330 PyObject * _argo0 = 0;
4331 char *_kwnames[] = { "self", NULL };
4332
4333 self = self;
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataToWindow",_kwnames,&_argo0))
4335 return NULL;
4336 if (_argo0) {
4337 if (_argo0 == Py_None) { _arg0 = NULL; }
4338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataToWindow. Expected _wxPyControl_p.");
4340 return NULL;
4341 }
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 _result = (bool )wxPyControl_base_TransferDataToWindow(_arg0);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) return NULL;
4349 } _resultobj = Py_BuildValue("i",_result);
4350 return _resultobj;
4351 }
4352
4353 #define wxPyControl_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
4354 static PyObject *_wrap_wxPyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject * _resultobj;
4356 bool _result;
4357 wxPyControl * _arg0;
4358 PyObject * _argo0 = 0;
4359 char *_kwnames[] = { "self", NULL };
4360
4361 self = self;
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_TransferDataFromWindow",_kwnames,&_argo0))
4363 return NULL;
4364 if (_argo0) {
4365 if (_argo0 == Py_None) { _arg0 = NULL; }
4366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_TransferDataFromWindow. Expected _wxPyControl_p.");
4368 return NULL;
4369 }
4370 }
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 _result = (bool )wxPyControl_base_TransferDataFromWindow(_arg0);
4374
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) return NULL;
4377 } _resultobj = Py_BuildValue("i",_result);
4378 return _resultobj;
4379 }
4380
4381 #define wxPyControl_base_Validate(_swigobj) (_swigobj->base_Validate())
4382 static PyObject *_wrap_wxPyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject * _resultobj;
4384 bool _result;
4385 wxPyControl * _arg0;
4386 PyObject * _argo0 = 0;
4387 char *_kwnames[] = { "self", NULL };
4388
4389 self = self;
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_Validate",_kwnames,&_argo0))
4391 return NULL;
4392 if (_argo0) {
4393 if (_argo0 == Py_None) { _arg0 = NULL; }
4394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_Validate. Expected _wxPyControl_p.");
4396 return NULL;
4397 }
4398 }
4399 {
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 _result = (bool )wxPyControl_base_Validate(_arg0);
4402
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) return NULL;
4405 } _resultobj = Py_BuildValue("i",_result);
4406 return _resultobj;
4407 }
4408
4409 #define wxPyControl_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
4410 static PyObject *_wrap_wxPyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
4411 PyObject * _resultobj;
4412 bool _result;
4413 wxPyControl * _arg0;
4414 PyObject * _argo0 = 0;
4415 char *_kwnames[] = { "self", NULL };
4416
4417 self = self;
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocus",_kwnames,&_argo0))
4419 return NULL;
4420 if (_argo0) {
4421 if (_argo0 == Py_None) { _arg0 = NULL; }
4422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocus. Expected _wxPyControl_p.");
4424 return NULL;
4425 }
4426 }
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 _result = (bool )wxPyControl_base_AcceptsFocus(_arg0);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) return NULL;
4433 } _resultobj = Py_BuildValue("i",_result);
4434 return _resultobj;
4435 }
4436
4437 #define wxPyControl_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
4438 static PyObject *_wrap_wxPyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject * _resultobj;
4440 bool _result;
4441 wxPyControl * _arg0;
4442 PyObject * _argo0 = 0;
4443 char *_kwnames[] = { "self", NULL };
4444
4445 self = self;
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
4447 return NULL;
4448 if (_argo0) {
4449 if (_argo0 == Py_None) { _arg0 = NULL; }
4450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AcceptsFocusFromKeyboard. Expected _wxPyControl_p.");
4452 return NULL;
4453 }
4454 }
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 _result = (bool )wxPyControl_base_AcceptsFocusFromKeyboard(_arg0);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) return NULL;
4461 } _resultobj = Py_BuildValue("i",_result);
4462 return _resultobj;
4463 }
4464
4465 #define wxPyControl_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
4466 static PyObject *_wrap_wxPyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4467 PyObject * _resultobj;
4468 wxSize * _result;
4469 wxPyControl * _arg0;
4470 PyObject * _argo0 = 0;
4471 char *_kwnames[] = { "self", NULL };
4472 char _ptemp[128];
4473
4474 self = self;
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControl_base_GetMaxSize",_kwnames,&_argo0))
4476 return NULL;
4477 if (_argo0) {
4478 if (_argo0 == Py_None) { _arg0 = NULL; }
4479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_GetMaxSize. Expected _wxPyControl_p.");
4481 return NULL;
4482 }
4483 }
4484 {
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 _result = new wxSize (wxPyControl_base_GetMaxSize(_arg0));
4487
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) return NULL;
4490 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
4491 _resultobj = Py_BuildValue("s",_ptemp);
4492 return _resultobj;
4493 }
4494
4495 #define wxPyControl_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
4496 static PyObject *_wrap_wxPyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4497 PyObject * _resultobj;
4498 wxPyControl * _arg0;
4499 wxWindow * _arg1;
4500 PyObject * _argo0 = 0;
4501 PyObject * _argo1 = 0;
4502 char *_kwnames[] = { "self","child", NULL };
4503
4504 self = self;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_AddChild",_kwnames,&_argo0,&_argo1))
4506 return NULL;
4507 if (_argo0) {
4508 if (_argo0 == Py_None) { _arg0 = NULL; }
4509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_AddChild. Expected _wxPyControl_p.");
4511 return NULL;
4512 }
4513 }
4514 if (_argo1) {
4515 if (_argo1 == Py_None) { _arg1 = NULL; }
4516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_AddChild. Expected _wxWindow_p.");
4518 return NULL;
4519 }
4520 }
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 wxPyControl_base_AddChild(_arg0,_arg1);
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) return NULL;
4527 } Py_INCREF(Py_None);
4528 _resultobj = Py_None;
4529 return _resultobj;
4530 }
4531
4532 #define wxPyControl_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
4533 static PyObject *_wrap_wxPyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject * _resultobj;
4535 wxPyControl * _arg0;
4536 wxWindow * _arg1;
4537 PyObject * _argo0 = 0;
4538 PyObject * _argo1 = 0;
4539 char *_kwnames[] = { "self","child", NULL };
4540
4541 self = self;
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControl_base_RemoveChild",_kwnames,&_argo0,&_argo1))
4543 return NULL;
4544 if (_argo0) {
4545 if (_argo0 == Py_None) { _arg0 = NULL; }
4546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControl_p")) {
4547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControl_base_RemoveChild. Expected _wxPyControl_p.");
4548 return NULL;
4549 }
4550 }
4551 if (_argo1) {
4552 if (_argo1 == Py_None) { _arg1 = NULL; }
4553 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4554 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControl_base_RemoveChild. Expected _wxWindow_p.");
4555 return NULL;
4556 }
4557 }
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 wxPyControl_base_RemoveChild(_arg0,_arg1);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) return NULL;
4564 } Py_INCREF(Py_None);
4565 _resultobj = Py_None;
4566 return _resultobj;
4567 }
4568
4569 static void *SwigwxPyPanelTowxPanel(void *ptr) {
4570 wxPyPanel *src;
4571 wxPanel *dest;
4572 src = (wxPyPanel *) ptr;
4573 dest = (wxPanel *) src;
4574 return (void *) dest;
4575 }
4576
4577 static void *SwigwxPyPanelTowxWindow(void *ptr) {
4578 wxPyPanel *src;
4579 wxWindow *dest;
4580 src = (wxPyPanel *) ptr;
4581 dest = (wxWindow *) src;
4582 return (void *) dest;
4583 }
4584
4585 static void *SwigwxPyPanelTowxEvtHandler(void *ptr) {
4586 wxPyPanel *src;
4587 wxEvtHandler *dest;
4588 src = (wxPyPanel *) ptr;
4589 dest = (wxEvtHandler *) src;
4590 return (void *) dest;
4591 }
4592
4593 static void *SwigwxPyPanelTowxObject(void *ptr) {
4594 wxPyPanel *src;
4595 wxObject *dest;
4596 src = (wxPyPanel *) ptr;
4597 dest = (wxObject *) src;
4598 return (void *) dest;
4599 }
4600
4601 #define new_wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4602 static PyObject *_wrap_new_wxPyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
4603 PyObject * _resultobj;
4604 wxPyPanel * _result;
4605 wxWindow * _arg0;
4606 wxWindowID _arg1;
4607 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4608 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4609 long _arg4 = (long ) 0;
4610 wxString * _arg5 = (wxString *) &wxPyPanelNameStr;
4611 PyObject * _argo0 = 0;
4612 wxPoint temp;
4613 PyObject * _obj2 = 0;
4614 wxSize temp0;
4615 PyObject * _obj3 = 0;
4616 PyObject * _obj5 = 0;
4617 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4618 char _ptemp[128];
4619
4620 self = self;
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxPyPanel",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4622 return NULL;
4623 if (_argo0) {
4624 if (_argo0 == Py_None) { _arg0 = NULL; }
4625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyPanel. Expected _wxWindow_p.");
4627 return NULL;
4628 }
4629 }
4630 if (_obj2)
4631 {
4632 _arg2 = &temp;
4633 if (! wxPoint_helper(_obj2, &_arg2))
4634 return NULL;
4635 }
4636 if (_obj3)
4637 {
4638 _arg3 = &temp0;
4639 if (! wxSize_helper(_obj3, &_arg3))
4640 return NULL;
4641 }
4642 if (_obj5)
4643 {
4644 _arg5 = wxString_in_helper(_obj5);
4645 if (_arg5 == NULL)
4646 return NULL;
4647 }
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 _result = (wxPyPanel *)new_wxPyPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) return NULL;
4654 } if (_result) {
4655 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPanel_p");
4656 _resultobj = Py_BuildValue("s",_ptemp);
4657 } else {
4658 Py_INCREF(Py_None);
4659 _resultobj = Py_None;
4660 }
4661 {
4662 if (_obj5)
4663 delete _arg5;
4664 }
4665 return _resultobj;
4666 }
4667
4668 #define wxPyPanel__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4669 static PyObject *_wrap_wxPyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject * _resultobj;
4671 wxPyPanel * _arg0;
4672 PyObject * _arg1;
4673 PyObject * _arg2;
4674 PyObject * _argo0 = 0;
4675 PyObject * _obj1 = 0;
4676 PyObject * _obj2 = 0;
4677 char *_kwnames[] = { "self","self","_class", NULL };
4678
4679 self = self;
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPanel__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4681 return NULL;
4682 if (_argo0) {
4683 if (_argo0 == Py_None) { _arg0 = NULL; }
4684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel__setCallbackInfo. Expected _wxPyPanel_p.");
4686 return NULL;
4687 }
4688 }
4689 {
4690 _arg1 = _obj1;
4691 }
4692 {
4693 _arg2 = _obj2;
4694 }
4695 {
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 wxPyPanel__setCallbackInfo(_arg0,_arg1,_arg2);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) return NULL;
4701 } Py_INCREF(Py_None);
4702 _resultobj = Py_None;
4703 return _resultobj;
4704 }
4705
4706 #define wxPyPanel_base_DoMoveWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_DoMoveWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4707 static PyObject *_wrap_wxPyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject * _resultobj;
4709 wxPyPanel * _arg0;
4710 int _arg1;
4711 int _arg2;
4712 int _arg3;
4713 int _arg4;
4714 PyObject * _argo0 = 0;
4715 char *_kwnames[] = { "self","x","y","width","height", NULL };
4716
4717 self = self;
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxPyPanel_base_DoMoveWindow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4719 return NULL;
4720 if (_argo0) {
4721 if (_argo0 == Py_None) { _arg0 = NULL; }
4722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoMoveWindow. Expected _wxPyPanel_p.");
4724 return NULL;
4725 }
4726 }
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 wxPyPanel_base_DoMoveWindow(_arg0,_arg1,_arg2,_arg3,_arg4);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) return NULL;
4733 } Py_INCREF(Py_None);
4734 _resultobj = Py_None;
4735 return _resultobj;
4736 }
4737
4738 #define wxPyPanel_base_DoSetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_DoSetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4739 static PyObject *_wrap_wxPyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject * _resultobj;
4741 wxPyPanel * _arg0;
4742 int _arg1;
4743 int _arg2;
4744 int _arg3;
4745 int _arg4;
4746 int _arg5 = (int ) wxSIZE_AUTO;
4747 PyObject * _argo0 = 0;
4748 char *_kwnames[] = { "self","x","y","width","height","sizeFlags", NULL };
4749
4750 self = self;
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxPyPanel_base_DoSetSize",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
4752 return NULL;
4753 if (_argo0) {
4754 if (_argo0 == Py_None) { _arg0 = NULL; }
4755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetSize. Expected _wxPyPanel_p.");
4757 return NULL;
4758 }
4759 }
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 wxPyPanel_base_DoSetSize(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) return NULL;
4766 } Py_INCREF(Py_None);
4767 _resultobj = Py_None;
4768 return _resultobj;
4769 }
4770
4771 #define wxPyPanel_base_DoSetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetClientSize(_swigarg0,_swigarg1))
4772 static PyObject *_wrap_wxPyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4773 PyObject * _resultobj;
4774 wxPyPanel * _arg0;
4775 int _arg1;
4776 int _arg2;
4777 PyObject * _argo0 = 0;
4778 char *_kwnames[] = { "self","width","height", NULL };
4779
4780 self = self;
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetClientSize",_kwnames,&_argo0,&_arg1,&_arg2))
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetClientSize. Expected _wxPyPanel_p.");
4787 return NULL;
4788 }
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 wxPyPanel_base_DoSetClientSize(_arg0,_arg1,_arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) return NULL;
4796 } Py_INCREF(Py_None);
4797 _resultobj = Py_None;
4798 return _resultobj;
4799 }
4800
4801 #define wxPyPanel_base_DoSetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoSetVirtualSize(_swigarg0,_swigarg1))
4802 static PyObject *_wrap_wxPyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject * _resultobj;
4804 wxPyPanel * _arg0;
4805 int _arg1;
4806 int _arg2;
4807 PyObject * _argo0 = 0;
4808 char *_kwnames[] = { "self","x","y", NULL };
4809
4810 self = self;
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyPanel_base_DoSetVirtualSize",_kwnames,&_argo0,&_arg1,&_arg2))
4812 return NULL;
4813 if (_argo0) {
4814 if (_argo0 == Py_None) { _arg0 = NULL; }
4815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoSetVirtualSize. Expected _wxPyPanel_p.");
4817 return NULL;
4818 }
4819 }
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 wxPyPanel_base_DoSetVirtualSize(_arg0,_arg1,_arg2);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) return NULL;
4826 } Py_INCREF(Py_None);
4827 _resultobj = Py_None;
4828 return _resultobj;
4829 }
4830
4831 #define wxPyPanel_base_DoGetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetSize(_swigarg0,_swigarg1))
4832 static PyObject *_wrap_wxPyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject * _resultobj;
4834 wxPyPanel * _arg0;
4835 int * _arg1;
4836 int temp;
4837 int * _arg2;
4838 int temp0;
4839 PyObject * _argo0 = 0;
4840 char *_kwnames[] = { "self", NULL };
4841
4842 self = self;
4843 {
4844 _arg1 = &temp;
4845 }
4846 {
4847 _arg2 = &temp0;
4848 }
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetSize",_kwnames,&_argo0))
4850 return NULL;
4851 if (_argo0) {
4852 if (_argo0 == Py_None) { _arg0 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetSize. Expected _wxPyPanel_p.");
4855 return NULL;
4856 }
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 wxPyPanel_base_DoGetSize(_arg0,_arg1,_arg2);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) return NULL;
4864 } Py_INCREF(Py_None);
4865 _resultobj = Py_None;
4866 {
4867 PyObject *o;
4868 o = PyInt_FromLong((long) (*_arg1));
4869 _resultobj = t_output_helper(_resultobj, o);
4870 }
4871 {
4872 PyObject *o;
4873 o = PyInt_FromLong((long) (*_arg2));
4874 _resultobj = t_output_helper(_resultobj, o);
4875 }
4876 return _resultobj;
4877 }
4878
4879 #define wxPyPanel_base_DoGetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetClientSize(_swigarg0,_swigarg1))
4880 static PyObject *_wrap_wxPyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject * _resultobj;
4882 wxPyPanel * _arg0;
4883 int * _arg1;
4884 int temp;
4885 int * _arg2;
4886 int temp0;
4887 PyObject * _argo0 = 0;
4888 char *_kwnames[] = { "self", NULL };
4889
4890 self = self;
4891 {
4892 _arg1 = &temp;
4893 }
4894 {
4895 _arg2 = &temp0;
4896 }
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetClientSize",_kwnames,&_argo0))
4898 return NULL;
4899 if (_argo0) {
4900 if (_argo0 == Py_None) { _arg0 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetClientSize. Expected _wxPyPanel_p.");
4903 return NULL;
4904 }
4905 }
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 wxPyPanel_base_DoGetClientSize(_arg0,_arg1,_arg2);
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) return NULL;
4912 } Py_INCREF(Py_None);
4913 _resultobj = Py_None;
4914 {
4915 PyObject *o;
4916 o = PyInt_FromLong((long) (*_arg1));
4917 _resultobj = t_output_helper(_resultobj, o);
4918 }
4919 {
4920 PyObject *o;
4921 o = PyInt_FromLong((long) (*_arg2));
4922 _resultobj = t_output_helper(_resultobj, o);
4923 }
4924 return _resultobj;
4925 }
4926
4927 #define wxPyPanel_base_DoGetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DoGetPosition(_swigarg0,_swigarg1))
4928 static PyObject *_wrap_wxPyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject * _resultobj;
4930 wxPyPanel * _arg0;
4931 int * _arg1;
4932 int temp;
4933 int * _arg2;
4934 int temp0;
4935 PyObject * _argo0 = 0;
4936 char *_kwnames[] = { "self", NULL };
4937
4938 self = self;
4939 {
4940 _arg1 = &temp;
4941 }
4942 {
4943 _arg2 = &temp0;
4944 }
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetPosition",_kwnames,&_argo0))
4946 return NULL;
4947 if (_argo0) {
4948 if (_argo0 == Py_None) { _arg0 = NULL; }
4949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetPosition. Expected _wxPyPanel_p.");
4951 return NULL;
4952 }
4953 }
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 wxPyPanel_base_DoGetPosition(_arg0,_arg1,_arg2);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) return NULL;
4960 } Py_INCREF(Py_None);
4961 _resultobj = Py_None;
4962 {
4963 PyObject *o;
4964 o = PyInt_FromLong((long) (*_arg1));
4965 _resultobj = t_output_helper(_resultobj, o);
4966 }
4967 {
4968 PyObject *o;
4969 o = PyInt_FromLong((long) (*_arg2));
4970 _resultobj = t_output_helper(_resultobj, o);
4971 }
4972 return _resultobj;
4973 }
4974
4975 #define wxPyPanel_base_DoGetVirtualSize(_swigobj) (_swigobj->base_DoGetVirtualSize())
4976 static PyObject *_wrap_wxPyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4977 PyObject * _resultobj;
4978 wxSize * _result;
4979 wxPyPanel * _arg0;
4980 PyObject * _argo0 = 0;
4981 char *_kwnames[] = { "self", NULL };
4982 char _ptemp[128];
4983
4984 self = self;
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetVirtualSize",_kwnames,&_argo0))
4986 return NULL;
4987 if (_argo0) {
4988 if (_argo0 == Py_None) { _arg0 = NULL; }
4989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
4990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetVirtualSize. Expected _wxPyPanel_p.");
4991 return NULL;
4992 }
4993 }
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 _result = new wxSize (wxPyPanel_base_DoGetVirtualSize(_arg0));
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) return NULL;
5000 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5001 _resultobj = Py_BuildValue("s",_ptemp);
5002 return _resultobj;
5003 }
5004
5005 #define wxPyPanel_base_DoGetBestSize(_swigobj) (_swigobj->base_DoGetBestSize())
5006 static PyObject *_wrap_wxPyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject * _resultobj;
5008 wxSize * _result;
5009 wxPyPanel * _arg0;
5010 PyObject * _argo0 = 0;
5011 char *_kwnames[] = { "self", NULL };
5012 char _ptemp[128];
5013
5014 self = self;
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_DoGetBestSize",_kwnames,&_argo0))
5016 return NULL;
5017 if (_argo0) {
5018 if (_argo0 == Py_None) { _arg0 = NULL; }
5019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_DoGetBestSize. Expected _wxPyPanel_p.");
5021 return NULL;
5022 }
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 _result = new wxSize (wxPyPanel_base_DoGetBestSize(_arg0));
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) return NULL;
5030 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5031 _resultobj = Py_BuildValue("s",_ptemp);
5032 return _resultobj;
5033 }
5034
5035 #define wxPyPanel_base_InitDialog(_swigobj) (_swigobj->base_InitDialog())
5036 static PyObject *_wrap_wxPyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
5037 PyObject * _resultobj;
5038 wxPyPanel * _arg0;
5039 PyObject * _argo0 = 0;
5040 char *_kwnames[] = { "self", NULL };
5041
5042 self = self;
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_InitDialog",_kwnames,&_argo0))
5044 return NULL;
5045 if (_argo0) {
5046 if (_argo0 == Py_None) { _arg0 = NULL; }
5047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_InitDialog. Expected _wxPyPanel_p.");
5049 return NULL;
5050 }
5051 }
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 wxPyPanel_base_InitDialog(_arg0);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) return NULL;
5058 } Py_INCREF(Py_None);
5059 _resultobj = Py_None;
5060 return _resultobj;
5061 }
5062
5063 #define wxPyPanel_base_TransferDataToWindow(_swigobj) (_swigobj->base_TransferDataToWindow())
5064 static PyObject *_wrap_wxPyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5065 PyObject * _resultobj;
5066 bool _result;
5067 wxPyPanel * _arg0;
5068 PyObject * _argo0 = 0;
5069 char *_kwnames[] = { "self", NULL };
5070
5071 self = self;
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataToWindow",_kwnames,&_argo0))
5073 return NULL;
5074 if (_argo0) {
5075 if (_argo0 == Py_None) { _arg0 = NULL; }
5076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataToWindow. Expected _wxPyPanel_p.");
5078 return NULL;
5079 }
5080 }
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 _result = (bool )wxPyPanel_base_TransferDataToWindow(_arg0);
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) return NULL;
5087 } _resultobj = Py_BuildValue("i",_result);
5088 return _resultobj;
5089 }
5090
5091 #define wxPyPanel_base_TransferDataFromWindow(_swigobj) (_swigobj->base_TransferDataFromWindow())
5092 static PyObject *_wrap_wxPyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject * _resultobj;
5094 bool _result;
5095 wxPyPanel * _arg0;
5096 PyObject * _argo0 = 0;
5097 char *_kwnames[] = { "self", NULL };
5098
5099 self = self;
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_TransferDataFromWindow",_kwnames,&_argo0))
5101 return NULL;
5102 if (_argo0) {
5103 if (_argo0 == Py_None) { _arg0 = NULL; }
5104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_TransferDataFromWindow. Expected _wxPyPanel_p.");
5106 return NULL;
5107 }
5108 }
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 _result = (bool )wxPyPanel_base_TransferDataFromWindow(_arg0);
5112
5113 wxPyEndAllowThreads(__tstate);
5114 if (PyErr_Occurred()) return NULL;
5115 } _resultobj = Py_BuildValue("i",_result);
5116 return _resultobj;
5117 }
5118
5119 #define wxPyPanel_base_Validate(_swigobj) (_swigobj->base_Validate())
5120 static PyObject *_wrap_wxPyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject * _resultobj;
5122 bool _result;
5123 wxPyPanel * _arg0;
5124 PyObject * _argo0 = 0;
5125 char *_kwnames[] = { "self", NULL };
5126
5127 self = self;
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_Validate",_kwnames,&_argo0))
5129 return NULL;
5130 if (_argo0) {
5131 if (_argo0 == Py_None) { _arg0 = NULL; }
5132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_Validate. Expected _wxPyPanel_p.");
5134 return NULL;
5135 }
5136 }
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 _result = (bool )wxPyPanel_base_Validate(_arg0);
5140
5141 wxPyEndAllowThreads(__tstate);
5142 if (PyErr_Occurred()) return NULL;
5143 } _resultobj = Py_BuildValue("i",_result);
5144 return _resultobj;
5145 }
5146
5147 #define wxPyPanel_base_AcceptsFocus(_swigobj) (_swigobj->base_AcceptsFocus())
5148 static PyObject *_wrap_wxPyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
5149 PyObject * _resultobj;
5150 bool _result;
5151 wxPyPanel * _arg0;
5152 PyObject * _argo0 = 0;
5153 char *_kwnames[] = { "self", NULL };
5154
5155 self = self;
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocus",_kwnames,&_argo0))
5157 return NULL;
5158 if (_argo0) {
5159 if (_argo0 == Py_None) { _arg0 = NULL; }
5160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocus. Expected _wxPyPanel_p.");
5162 return NULL;
5163 }
5164 }
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 _result = (bool )wxPyPanel_base_AcceptsFocus(_arg0);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) return NULL;
5171 } _resultobj = Py_BuildValue("i",_result);
5172 return _resultobj;
5173 }
5174
5175 #define wxPyPanel_base_AcceptsFocusFromKeyboard(_swigobj) (_swigobj->base_AcceptsFocusFromKeyboard())
5176 static PyObject *_wrap_wxPyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
5177 PyObject * _resultobj;
5178 bool _result;
5179 wxPyPanel * _arg0;
5180 PyObject * _argo0 = 0;
5181 char *_kwnames[] = { "self", NULL };
5182
5183 self = self;
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_AcceptsFocusFromKeyboard",_kwnames,&_argo0))
5185 return NULL;
5186 if (_argo0) {
5187 if (_argo0 == Py_None) { _arg0 = NULL; }
5188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AcceptsFocusFromKeyboard. Expected _wxPyPanel_p.");
5190 return NULL;
5191 }
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 _result = (bool )wxPyPanel_base_AcceptsFocusFromKeyboard(_arg0);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) return NULL;
5199 } _resultobj = Py_BuildValue("i",_result);
5200 return _resultobj;
5201 }
5202
5203 #define wxPyPanel_base_GetMaxSize(_swigobj) (_swigobj->base_GetMaxSize())
5204 static PyObject *_wrap_wxPyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5205 PyObject * _resultobj;
5206 wxSize * _result;
5207 wxPyPanel * _arg0;
5208 PyObject * _argo0 = 0;
5209 char *_kwnames[] = { "self", NULL };
5210 char _ptemp[128];
5211
5212 self = self;
5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPanel_base_GetMaxSize",_kwnames,&_argo0))
5214 return NULL;
5215 if (_argo0) {
5216 if (_argo0 == Py_None) { _arg0 = NULL; }
5217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_GetMaxSize. Expected _wxPyPanel_p.");
5219 return NULL;
5220 }
5221 }
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 _result = new wxSize (wxPyPanel_base_GetMaxSize(_arg0));
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) return NULL;
5228 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
5229 _resultobj = Py_BuildValue("s",_ptemp);
5230 return _resultobj;
5231 }
5232
5233 #define wxPyPanel_base_AddChild(_swigobj,_swigarg0) (_swigobj->base_AddChild(_swigarg0))
5234 static PyObject *_wrap_wxPyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5235 PyObject * _resultobj;
5236 wxPyPanel * _arg0;
5237 wxWindow * _arg1;
5238 PyObject * _argo0 = 0;
5239 PyObject * _argo1 = 0;
5240 char *_kwnames[] = { "self","child", NULL };
5241
5242 self = self;
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_AddChild",_kwnames,&_argo0,&_argo1))
5244 return NULL;
5245 if (_argo0) {
5246 if (_argo0 == Py_None) { _arg0 = NULL; }
5247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_AddChild. Expected _wxPyPanel_p.");
5249 return NULL;
5250 }
5251 }
5252 if (_argo1) {
5253 if (_argo1 == Py_None) { _arg1 = NULL; }
5254 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_AddChild. Expected _wxWindow_p.");
5256 return NULL;
5257 }
5258 }
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 wxPyPanel_base_AddChild(_arg0,_arg1);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) return NULL;
5265 } Py_INCREF(Py_None);
5266 _resultobj = Py_None;
5267 return _resultobj;
5268 }
5269
5270 #define wxPyPanel_base_RemoveChild(_swigobj,_swigarg0) (_swigobj->base_RemoveChild(_swigarg0))
5271 static PyObject *_wrap_wxPyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5272 PyObject * _resultobj;
5273 wxPyPanel * _arg0;
5274 wxWindow * _arg1;
5275 PyObject * _argo0 = 0;
5276 PyObject * _argo1 = 0;
5277 char *_kwnames[] = { "self","child", NULL };
5278
5279 self = self;
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPanel_base_RemoveChild",_kwnames,&_argo0,&_argo1))
5281 return NULL;
5282 if (_argo0) {
5283 if (_argo0 == Py_None) { _arg0 = NULL; }
5284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPanel_p")) {
5285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPanel_base_RemoveChild. Expected _wxPyPanel_p.");
5286 return NULL;
5287 }
5288 }
5289 if (_argo1) {
5290 if (_argo1 == Py_None) { _arg1 = NULL; }
5291 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPanel_base_RemoveChild. Expected _wxWindow_p.");
5293 return NULL;
5294 }
5295 }
5296 {
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 wxPyPanel_base_RemoveChild(_arg0,_arg1);
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) return NULL;
5302 } Py_INCREF(Py_None);
5303 _resultobj = Py_None;
5304 return _resultobj;
5305 }
5306
5307 static PyMethodDef windows2cMethods[] = {
5308 { "wxPyPanel_base_RemoveChild", (PyCFunction) _wrap_wxPyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
5309 { "wxPyPanel_base_AddChild", (PyCFunction) _wrap_wxPyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
5310 { "wxPyPanel_base_GetMaxSize", (PyCFunction) _wrap_wxPyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
5311 { "wxPyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
5312 { "wxPyPanel_base_AcceptsFocus", (PyCFunction) _wrap_wxPyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
5313 { "wxPyPanel_base_Validate", (PyCFunction) _wrap_wxPyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
5314 { "wxPyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5315 { "wxPyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5316 { "wxPyPanel_base_InitDialog", (PyCFunction) _wrap_wxPyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
5317 { "wxPyPanel_base_DoGetBestSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
5318 { "wxPyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5319 { "wxPyPanel_base_DoGetPosition", (PyCFunction) _wrap_wxPyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
5320 { "wxPyPanel_base_DoGetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
5321 { "wxPyPanel_base_DoGetSize", (PyCFunction) _wrap_wxPyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
5322 { "wxPyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5323 { "wxPyPanel_base_DoSetClientSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
5324 { "wxPyPanel_base_DoSetSize", (PyCFunction) _wrap_wxPyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
5325 { "wxPyPanel_base_DoMoveWindow", (PyCFunction) _wrap_wxPyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
5326 { "wxPyPanel__setCallbackInfo", (PyCFunction) _wrap_wxPyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5327 { "new_wxPyPanel", (PyCFunction) _wrap_new_wxPyPanel, METH_VARARGS | METH_KEYWORDS },
5328 { "wxPyControl_base_RemoveChild", (PyCFunction) _wrap_wxPyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
5329 { "wxPyControl_base_AddChild", (PyCFunction) _wrap_wxPyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
5330 { "wxPyControl_base_GetMaxSize", (PyCFunction) _wrap_wxPyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
5331 { "wxPyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
5332 { "wxPyControl_base_AcceptsFocus", (PyCFunction) _wrap_wxPyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
5333 { "wxPyControl_base_Validate", (PyCFunction) _wrap_wxPyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
5334 { "wxPyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5335 { "wxPyControl_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5336 { "wxPyControl_base_InitDialog", (PyCFunction) _wrap_wxPyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
5337 { "wxPyControl_base_DoGetBestSize", (PyCFunction) _wrap_wxPyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
5338 { "wxPyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5339 { "wxPyControl_base_DoGetPosition", (PyCFunction) _wrap_wxPyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
5340 { "wxPyControl_base_DoGetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
5341 { "wxPyControl_base_DoGetSize", (PyCFunction) _wrap_wxPyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
5342 { "wxPyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5343 { "wxPyControl_base_DoSetClientSize", (PyCFunction) _wrap_wxPyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
5344 { "wxPyControl_base_DoSetSize", (PyCFunction) _wrap_wxPyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
5345 { "wxPyControl_base_DoMoveWindow", (PyCFunction) _wrap_wxPyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
5346 { "wxPyControl__setCallbackInfo", (PyCFunction) _wrap_wxPyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5347 { "new_wxPyControl", (PyCFunction) _wrap_new_wxPyControl, METH_VARARGS | METH_KEYWORDS },
5348 { "wxPyWindow_base_RemoveChild", (PyCFunction) _wrap_wxPyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
5349 { "wxPyWindow_base_AddChild", (PyCFunction) _wrap_wxPyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
5350 { "wxPyWindow_base_GetMaxSize", (PyCFunction) _wrap_wxPyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
5351 { "wxPyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
5352 { "wxPyWindow_base_AcceptsFocus", (PyCFunction) _wrap_wxPyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
5353 { "wxPyWindow_base_Validate", (PyCFunction) _wrap_wxPyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
5354 { "wxPyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
5355 { "wxPyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_wxPyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
5356 { "wxPyWindow_base_InitDialog", (PyCFunction) _wrap_wxPyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
5357 { "wxPyWindow_base_DoGetBestSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
5358 { "wxPyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5359 { "wxPyWindow_base_DoGetPosition", (PyCFunction) _wrap_wxPyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
5360 { "wxPyWindow_base_DoGetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
5361 { "wxPyWindow_base_DoGetSize", (PyCFunction) _wrap_wxPyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
5362 { "wxPyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
5363 { "wxPyWindow_base_DoSetClientSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
5364 { "wxPyWindow_base_DoSetSize", (PyCFunction) _wrap_wxPyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
5365 { "wxPyWindow_base_DoMoveWindow", (PyCFunction) _wrap_wxPyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
5366 { "wxPyWindow__setCallbackInfo", (PyCFunction) _wrap_wxPyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
5367 { "new_wxPyWindow", (PyCFunction) _wrap_new_wxPyWindow, METH_VARARGS | METH_KEYWORDS },
5368 { "wxSplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
5369 { "wxSplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_wxSplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
5370 { "wxSplitterWindow_SizeWindows", (PyCFunction) _wrap_wxSplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
5371 { "wxSplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5372 { "wxSplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_wxSplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
5373 { "wxSplitterWindow_GetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5374 { "wxSplitterWindow_SetSashPosition", (PyCFunction) _wrap_wxSplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5375 { "wxSplitterWindow_GetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
5376 { "wxSplitterWindow_GetSashSize", (PyCFunction) _wrap_wxSplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
5377 { "wxSplitterWindow_SetBorderSize", (PyCFunction) _wrap_wxSplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
5378 { "wxSplitterWindow_SetSashSize", (PyCFunction) _wrap_wxSplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
5379 { "wxSplitterWindow_IsSplit", (PyCFunction) _wrap_wxSplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
5380 { "wxSplitterWindow_ReplaceWindow", (PyCFunction) _wrap_wxSplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
5381 { "wxSplitterWindow_Unsplit", (PyCFunction) _wrap_wxSplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
5382 { "wxSplitterWindow_SplitHorizontally", (PyCFunction) _wrap_wxSplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
5383 { "wxSplitterWindow_SplitVertically", (PyCFunction) _wrap_wxSplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
5384 { "wxSplitterWindow_Initialize", (PyCFunction) _wrap_wxSplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
5385 { "wxSplitterWindow_GetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
5386 { "wxSplitterWindow_SetSplitMode", (PyCFunction) _wrap_wxSplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
5387 { "wxSplitterWindow_GetWindow2", (PyCFunction) _wrap_wxSplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
5388 { "wxSplitterWindow_GetWindow1", (PyCFunction) _wrap_wxSplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
5389 { "wxSplitterWindow_Create", (PyCFunction) _wrap_wxSplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
5390 { "new_wxPreSplitterWindow", (PyCFunction) _wrap_new_wxPreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5391 { "new_wxSplitterWindow", (PyCFunction) _wrap_new_wxSplitterWindow, METH_VARARGS | METH_KEYWORDS },
5392 { "wxSplitterEvent_SetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
5393 { "wxSplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_wxSplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
5394 { "wxSplitterEvent_GetY", (PyCFunction) _wrap_wxSplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
5395 { "wxSplitterEvent_GetX", (PyCFunction) _wrap_wxSplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
5396 { "wxSplitterEvent_GetSashPosition", (PyCFunction) _wrap_wxSplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
5397 { "new_wxSplitterEvent", (PyCFunction) _wrap_new_wxSplitterEvent, METH_VARARGS | METH_KEYWORDS },
5398 { "new_wxListbookEvent", (PyCFunction) _wrap_new_wxListbookEvent, METH_VARARGS | METH_KEYWORDS },
5399 { "wxListbook_IsVertical", (PyCFunction) _wrap_wxListbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
5400 { "wxListbook_Create", (PyCFunction) _wrap_wxListbook_Create, METH_VARARGS | METH_KEYWORDS },
5401 { "new_wxPreListbook", (PyCFunction) _wrap_new_wxPreListbook, METH_VARARGS | METH_KEYWORDS },
5402 { "new_wxListbook", (PyCFunction) _wrap_new_wxListbook, METH_VARARGS | METH_KEYWORDS },
5403 { "wxNotebookEvent_SetSelection", (PyCFunction) _wrap_wxNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5404 { "wxNotebookEvent_SetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5405 { "wxNotebookEvent_GetOldSelection", (PyCFunction) _wrap_wxNotebookEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5406 { "wxNotebookEvent_GetSelection", (PyCFunction) _wrap_wxNotebookEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5407 { "new_wxNotebookEvent", (PyCFunction) _wrap_new_wxNotebookEvent, METH_VARARGS | METH_KEYWORDS },
5408 { "wxNotebook_CalcSizeFromPage", (PyCFunction) _wrap_wxNotebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
5409 { "wxNotebook_HitTest", (PyCFunction) _wrap_wxNotebook_HitTest, METH_VARARGS | METH_KEYWORDS },
5410 { "wxNotebook_SetTabSize", (PyCFunction) _wrap_wxNotebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
5411 { "wxNotebook_SetPadding", (PyCFunction) _wrap_wxNotebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
5412 { "wxNotebook_GetRowCount", (PyCFunction) _wrap_wxNotebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
5413 { "wxNotebook_Create", (PyCFunction) _wrap_wxNotebook_Create, METH_VARARGS | METH_KEYWORDS },
5414 { "new_wxPreNotebook", (PyCFunction) _wrap_new_wxPreNotebook, METH_VARARGS | METH_KEYWORDS },
5415 { "new_wxNotebook", (PyCFunction) _wrap_new_wxNotebook, METH_VARARGS | METH_KEYWORDS },
5416 { "wxBookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_wxBookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
5417 { "wxBookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_wxBookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
5418 { "wxBookCtrlEvent_SetSelection", (PyCFunction) _wrap_wxBookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
5419 { "wxBookCtrlEvent_GetSelection", (PyCFunction) _wrap_wxBookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
5420 { "new_wxBookCtrlEvent", (PyCFunction) _wrap_new_wxBookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
5421 { "wxBookCtrl_AdvanceSelection", (PyCFunction) _wrap_wxBookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
5422 { "wxBookCtrl_SetSelection", (PyCFunction) _wrap_wxBookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
5423 { "wxBookCtrl_InsertPage", (PyCFunction) _wrap_wxBookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
5424 { "wxBookCtrl_AddPage", (PyCFunction) _wrap_wxBookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
5425 { "wxBookCtrl_DeleteAllPages", (PyCFunction) _wrap_wxBookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
5426 { "wxBookCtrl_RemovePage", (PyCFunction) _wrap_wxBookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
5427 { "wxBookCtrl_DeletePage", (PyCFunction) _wrap_wxBookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
5428 { "wxBookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_wxBookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
5429 { "wxBookCtrl_SetPageSize", (PyCFunction) _wrap_wxBookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
5430 { "wxBookCtrl_SetPageImage", (PyCFunction) _wrap_wxBookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
5431 { "wxBookCtrl_GetPageImage", (PyCFunction) _wrap_wxBookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
5432 { "wxBookCtrl_GetImageList", (PyCFunction) _wrap_wxBookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
5433 { "wxBookCtrl_AssignImageList", (PyCFunction) _wrap_wxBookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
5434 { "wxBookCtrl_SetImageList", (PyCFunction) _wrap_wxBookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
5435 { "wxBookCtrl_GetPageText", (PyCFunction) _wrap_wxBookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
5436 { "wxBookCtrl_SetPageText", (PyCFunction) _wrap_wxBookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
5437 { "wxBookCtrl_GetSelection", (PyCFunction) _wrap_wxBookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
5438 { "wxBookCtrl_GetPage", (PyCFunction) _wrap_wxBookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
5439 { "wxBookCtrl_GetPageCount", (PyCFunction) _wrap_wxBookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
5440 { NULL, NULL }
5441 };
5442 #ifdef __cplusplus
5443 }
5444 #endif
5445 /*
5446 * This table is used by the pointer type-checker
5447 */
5448 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
5449 { "_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent},
5450 { "_wxEvent","_wxListbookEvent",SwigwxListbookEventTowxEvent},
5451 { "_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent},
5452 { "_wxEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxEvent},
5453 { "_signed_long","_long",0},
5454 { "_wxPrintQuality","_wxCoord",0},
5455 { "_wxPrintQuality","_int",0},
5456 { "_wxPrintQuality","_signed_int",0},
5457 { "_wxPrintQuality","_unsigned_int",0},
5458 { "_wxPrintQuality","_wxWindowID",0},
5459 { "_wxPrintQuality","_uint",0},
5460 { "_wxPrintQuality","_EBool",0},
5461 { "_wxPrintQuality","_size_t",0},
5462 { "_wxPrintQuality","_time_t",0},
5463 { "_wxNotifyEvent","_wxSplitterEvent",SwigwxSplitterEventTowxNotifyEvent},
5464 { "_wxNotifyEvent","_wxListbookEvent",SwigwxListbookEventTowxNotifyEvent},
5465 { "_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent},
5466 { "_wxNotifyEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxNotifyEvent},
5467 { "_byte","_unsigned_char",0},
5468 { "_long","_unsigned_long",0},
5469 { "_long","_signed_long",0},
5470 { "_size_t","_wxCoord",0},
5471 { "_size_t","_wxPrintQuality",0},
5472 { "_size_t","_time_t",0},
5473 { "_size_t","_unsigned_int",0},
5474 { "_size_t","_int",0},
5475 { "_size_t","_wxWindowID",0},
5476 { "_size_t","_uint",0},
5477 { "_wxPanel","_wxPyPanel",SwigwxPyPanelTowxPanel},
5478 { "_wxBookCtrlEvent","_wxListbookEvent",SwigwxListbookEventTowxBookCtrlEvent},
5479 { "_uint","_wxCoord",0},
5480 { "_uint","_wxPrintQuality",0},
5481 { "_uint","_time_t",0},
5482 { "_uint","_size_t",0},
5483 { "_uint","_unsigned_int",0},
5484 { "_uint","_int",0},
5485 { "_uint","_wxWindowID",0},
5486 { "_wxChar","_char",0},
5487 { "_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent},
5488 { "_wxCommandEvent","_wxListbookEvent",SwigwxListbookEventTowxCommandEvent},
5489 { "_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent},
5490 { "_wxCommandEvent","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxCommandEvent},
5491 { "_char","_wxChar",0},
5492 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
5493 { "_EBool","_wxCoord",0},
5494 { "_EBool","_wxPrintQuality",0},
5495 { "_EBool","_signed_int",0},
5496 { "_EBool","_int",0},
5497 { "_EBool","_wxWindowID",0},
5498 { "_unsigned_long","_long",0},
5499 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
5500 { "_signed_int","_wxCoord",0},
5501 { "_signed_int","_wxPrintQuality",0},
5502 { "_signed_int","_EBool",0},
5503 { "_signed_int","_wxWindowID",0},
5504 { "_signed_int","_int",0},
5505 { "_WXTYPE","_short",0},
5506 { "_WXTYPE","_signed_short",0},
5507 { "_WXTYPE","_unsigned_short",0},
5508 { "_unsigned_short","_WXTYPE",0},
5509 { "_unsigned_short","_short",0},
5510 { "_wxObject","_wxPyPanel",SwigwxPyPanelTowxObject},
5511 { "_wxObject","_wxPyControl",SwigwxPyControlTowxObject},
5512 { "_wxObject","_wxPyWindow",SwigwxPyWindowTowxObject},
5513 { "_wxObject","_wxSplitterWindow",SwigwxSplitterWindowTowxObject},
5514 { "_wxObject","_wxSplitterEvent",SwigwxSplitterEventTowxObject},
5515 { "_wxObject","_wxListbookEvent",SwigwxListbookEventTowxObject},
5516 { "_wxObject","_wxListbook",SwigwxListbookTowxObject},
5517 { "_wxObject","_wxNotebookEvent",SwigwxNotebookEventTowxObject},
5518 { "_wxObject","_wxNotebook",SwigwxNotebookTowxObject},
5519 { "_wxObject","_wxBookCtrlEvent",SwigwxBookCtrlEventTowxObject},
5520 { "_wxObject","_wxBookCtrl",SwigwxBookCtrlTowxObject},
5521 { "_signed_short","_WXTYPE",0},
5522 { "_signed_short","_short",0},
5523 { "_unsigned_char","_byte",0},
5524 { "_wxControl","_wxPyControl",SwigwxPyControlTowxControl},
5525 { "_wxControl","_wxListbook",SwigwxListbookTowxControl},
5526 { "_wxControl","_wxNotebook",SwigwxNotebookTowxControl},
5527 { "_wxControl","_wxBookCtrl",SwigwxBookCtrlTowxControl},
5528 { "_unsigned_int","_wxCoord",0},
5529 { "_unsigned_int","_wxPrintQuality",0},
5530 { "_unsigned_int","_time_t",0},
5531 { "_unsigned_int","_size_t",0},
5532 { "_unsigned_int","_uint",0},
5533 { "_unsigned_int","_wxWindowID",0},
5534 { "_unsigned_int","_int",0},
5535 { "_short","_WXTYPE",0},
5536 { "_short","_unsigned_short",0},
5537 { "_short","_signed_short",0},
5538 { "_wxBookCtrl","_wxListbook",SwigwxListbookTowxBookCtrl},
5539 { "_wxBookCtrl","_wxNotebook",SwigwxNotebookTowxBookCtrl},
5540 { "_wxWindowID","_wxCoord",0},
5541 { "_wxWindowID","_wxPrintQuality",0},
5542 { "_wxWindowID","_time_t",0},
5543 { "_wxWindowID","_size_t",0},
5544 { "_wxWindowID","_EBool",0},
5545 { "_wxWindowID","_uint",0},
5546 { "_wxWindowID","_int",0},
5547 { "_wxWindowID","_signed_int",0},
5548 { "_wxWindowID","_unsigned_int",0},
5549 { "_int","_wxCoord",0},
5550 { "_int","_wxPrintQuality",0},
5551 { "_int","_time_t",0},
5552 { "_int","_size_t",0},
5553 { "_int","_EBool",0},
5554 { "_int","_uint",0},
5555 { "_int","_wxWindowID",0},
5556 { "_int","_unsigned_int",0},
5557 { "_int","_signed_int",0},
5558 { "_time_t","_wxCoord",0},
5559 { "_time_t","_wxPrintQuality",0},
5560 { "_time_t","_unsigned_int",0},
5561 { "_time_t","_int",0},
5562 { "_time_t","_wxWindowID",0},
5563 { "_time_t","_uint",0},
5564 { "_time_t","_size_t",0},
5565 { "_wxCoord","_int",0},
5566 { "_wxCoord","_signed_int",0},
5567 { "_wxCoord","_unsigned_int",0},
5568 { "_wxCoord","_wxWindowID",0},
5569 { "_wxCoord","_uint",0},
5570 { "_wxCoord","_EBool",0},
5571 { "_wxCoord","_size_t",0},
5572 { "_wxCoord","_time_t",0},
5573 { "_wxCoord","_wxPrintQuality",0},
5574 { "_wxEvtHandler","_wxPyPanel",SwigwxPyPanelTowxEvtHandler},
5575 { "_wxEvtHandler","_wxPyControl",SwigwxPyControlTowxEvtHandler},
5576 { "_wxEvtHandler","_wxPyWindow",SwigwxPyWindowTowxEvtHandler},
5577 { "_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler},
5578 { "_wxEvtHandler","_wxListbook",SwigwxListbookTowxEvtHandler},
5579 { "_wxEvtHandler","_wxNotebook",SwigwxNotebookTowxEvtHandler},
5580 { "_wxEvtHandler","_wxBookCtrl",SwigwxBookCtrlTowxEvtHandler},
5581 { "_wxWindow","_wxPyPanel",SwigwxPyPanelTowxWindow},
5582 { "_wxWindow","_wxPyControl",SwigwxPyControlTowxWindow},
5583 { "_wxWindow","_wxPyWindow",SwigwxPyWindowTowxWindow},
5584 { "_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow},
5585 { "_wxWindow","_wxListbook",SwigwxListbookTowxWindow},
5586 { "_wxWindow","_wxNotebook",SwigwxNotebookTowxWindow},
5587 { "_wxWindow","_wxBookCtrl",SwigwxBookCtrlTowxWindow},
5588 {0,0,0}};
5589
5590 static PyObject *SWIG_globals;
5591 #ifdef __cplusplus
5592 extern "C"
5593 #endif
5594 SWIGEXPORT(void) initwindows2c() {
5595 PyObject *m, *d;
5596 SWIG_globals = SWIG_newvarlink();
5597 m = Py_InitModule("windows2c", windows2cMethods);
5598 d = PyModule_GetDict(m);
5599 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
5600 PyDict_SetItemString(d,"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
5601 PyDict_SetItemString(d,"wxNB_FIXEDWIDTH", PyInt_FromLong((long) wxNB_FIXEDWIDTH));
5602 PyDict_SetItemString(d,"wxNB_TOP", PyInt_FromLong((long) wxNB_TOP));
5603 PyDict_SetItemString(d,"wxNB_LEFT", PyInt_FromLong((long) wxNB_LEFT));
5604 PyDict_SetItemString(d,"wxNB_RIGHT", PyInt_FromLong((long) wxNB_RIGHT));
5605 PyDict_SetItemString(d,"wxNB_BOTTOM", PyInt_FromLong((long) wxNB_BOTTOM));
5606 PyDict_SetItemString(d,"wxNB_MULTILINE", PyInt_FromLong((long) wxNB_MULTILINE));
5607 PyDict_SetItemString(d,"wxNB_HITTEST_NOWHERE", PyInt_FromLong((long) wxNB_HITTEST_NOWHERE));
5608 PyDict_SetItemString(d,"wxNB_HITTEST_ONICON", PyInt_FromLong((long) wxNB_HITTEST_ONICON));
5609 PyDict_SetItemString(d,"wxNB_HITTEST_ONLABEL", PyInt_FromLong((long) wxNB_HITTEST_ONLABEL));
5610 PyDict_SetItemString(d,"wxNB_HITTEST_ONITEM", PyInt_FromLong((long) wxNB_HITTEST_ONITEM));
5611 PyDict_SetItemString(d,"wxLB_DEFAULT", PyInt_FromLong((long) wxLB_DEFAULT));
5612 PyDict_SetItemString(d,"wxLB_TOP", PyInt_FromLong((long) wxLB_TOP));
5613 PyDict_SetItemString(d,"wxLB_BOTTOM", PyInt_FromLong((long) wxLB_BOTTOM));
5614 PyDict_SetItemString(d,"wxLB_LEFT", PyInt_FromLong((long) wxLB_LEFT));
5615 PyDict_SetItemString(d,"wxLB_RIGHT", PyInt_FromLong((long) wxLB_RIGHT));
5616 PyDict_SetItemString(d,"wxLB_ALIGN_MASK", PyInt_FromLong((long) wxLB_ALIGN_MASK));
5617 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
5618 PyDict_SetItemString(d,"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
5619 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
5620 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
5621 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_UNSPLIT));
5622 PyDict_SetItemString(d,"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong((long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
5623 PyDict_SetItemString(d,"wxSPLIT_HORIZONTAL", PyInt_FromLong((long) wxSPLIT_HORIZONTAL));
5624 PyDict_SetItemString(d,"wxSPLIT_VERTICAL", PyInt_FromLong((long) wxSPLIT_VERTICAL));
5625 PyDict_SetItemString(d,"wxSPLIT_DRAG_NONE", PyInt_FromLong((long) wxSPLIT_DRAG_NONE));
5626 PyDict_SetItemString(d,"wxSPLIT_DRAG_DRAGGING", PyInt_FromLong((long) wxSPLIT_DRAG_DRAGGING));
5627 PyDict_SetItemString(d,"wxSPLIT_DRAG_LEFT_DOWN", PyInt_FromLong((long) wxSPLIT_DRAG_LEFT_DOWN));
5628 PyDict_SetItemString(d,"wxSP_VERTICAL", PyInt_FromLong((long) wxSP_VERTICAL));
5629 PyDict_SetItemString(d,"wxSP_HORIZONTAL", PyInt_FromLong((long) wxSP_HORIZONTAL));
5630 PyDict_SetItemString(d,"wxSP_ARROW_KEYS", PyInt_FromLong((long) wxSP_ARROW_KEYS));
5631 PyDict_SetItemString(d,"wxSP_WRAP", PyInt_FromLong((long) wxSP_WRAP));
5632 PyDict_SetItemString(d,"wxSP_NOBORDER", PyInt_FromLong((long) wxSP_NOBORDER));
5633 PyDict_SetItemString(d,"wxSP_3D", PyInt_FromLong((long) wxSP_3D));
5634 PyDict_SetItemString(d,"wxSP_3DSASH", PyInt_FromLong((long) wxSP_3DSASH));
5635 PyDict_SetItemString(d,"wxSP_3DBORDER", PyInt_FromLong((long) wxSP_3DBORDER));
5636 PyDict_SetItemString(d,"wxSP_FULLSASH", PyInt_FromLong((long) wxSP_FULLSASH));
5637 PyDict_SetItemString(d,"wxSP_BORDER", PyInt_FromLong((long) wxSP_BORDER));
5638 PyDict_SetItemString(d,"wxSP_LIVE_UPDATE", PyInt_FromLong((long) wxSP_LIVE_UPDATE));
5639 PyDict_SetItemString(d,"wxSP_PERMIT_UNSPLIT", PyInt_FromLong((long) wxSP_PERMIT_UNSPLIT));
5640 {
5641 int i;
5642 for (i = 0; _swig_mapping[i].n1; i++)
5643 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
5644 }
5645 }